summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 96b745db8..dc98bdc3d 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -242,6 +242,8 @@ enum class TextureType : u64 {
TextureCube = 3,
};
+enum class IpaMode : u64 { Pass = 0, None = 1, Constant = 2, Sc = 3 };
+
union Instruction {
Instruction& operator=(const Instruction& instr) {
value = instr.value;
@@ -325,6 +327,10 @@ union Instruction {
} alu;
union {
+ BitField<54, 3, IpaMode> mode;
+ } ipa;
+
+ union {
BitField<48, 1, u64> negate_b;
} fmul;