diff options
author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-06-16 02:30:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-16 02:30:13 +0200 |
commit | c0e7b91145d944b9fcd82605cccac64298d02c4f (patch) | |
tree | 31aa6304d6afd839a2c8a7ebafadce8da6cc58cd /src/video_core/shader/node.h | |
parent | Merge pull request #2581 from lioncash/hex (diff) | |
parent | shader: Split SSY and PBK stack (diff) | |
download | yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.tar yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.tar.gz yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.tar.bz2 yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.tar.lz yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.tar.xz yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.tar.zst yuzu-c0e7b91145d944b9fcd82605cccac64298d02c4f.zip |
Diffstat (limited to 'src/video_core/shader/node.h')
-rw-r--r-- | src/video_core/shader/node.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/video_core/shader/node.h b/src/video_core/shader/node.h index c002f90f9..3cfb911bb 100644 --- a/src/video_core/shader/node.h +++ b/src/video_core/shader/node.h @@ -174,6 +174,11 @@ enum class InternalFlag { Amount = 4, }; +enum class MetaStackClass { + Ssy, + Pbk, +}; + class OperationNode; class ConditionalNode; class GprNode; @@ -285,7 +290,7 @@ struct MetaTexture { }; /// Parameters that modify an operation but are not part of any particular operand -using Meta = std::variant<MetaArithmetic, MetaTexture, Tegra::Shader::HalfType>; +using Meta = std::variant<MetaArithmetic, MetaTexture, MetaStackClass, Tegra::Shader::HalfType>; /// Holds any kind of operation that can be done in the IR class OperationNode final { |