diff options
| author | Zach Hilman <DarkLordZach@users.noreply.github.com> | 2019-06-15 20:30:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-15 20:30:13 -0400 |
| commit | c0e7b91145d944b9fcd82605cccac64298d02c4f (patch) | |
| tree | 31aa6304d6afd839a2c8a7ebafadce8da6cc58cd /src/video_core/shader/node.h | |
| parent | c140b6ae2ca6bc318f47b74a6946ddb10d282dbe (diff) | |
| parent | fe8e6618f2907a9262d69232ef0e2d5d58cbc6e0 (diff) | |
Merge pull request #2538 from ReinUsesLisp/ssy-pbk
shader: Split SSY and PBK stack
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 { |
