summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar bunnei2018-06-08 23:24:10 -0400
committerGravatar bunnei2018-06-08 23:24:10 -0400
commit79e9c2e23798b62fc68dae8db69b2c502230d0e2 (patch)
treecd566db9c1deed3aa46eed722ad8f2e8ea97af5d /src/video_core/engines
parentMerge pull request #505 from janisozaur/ccache-travis (diff)
downloadyuzu-79e9c2e23798b62fc68dae8db69b2c502230d0e2.tar.gz
yuzu-79e9c2e23798b62fc68dae8db69b2c502230d0e2.tar.xz
yuzu-79e9c2e23798b62fc68dae8db69b2c502230d0e2.zip
gl_shader_decompiler: Add missing asserts for saturate_a instructions.
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/shader_bytecode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h
index 32800392b..bf254ef33 100644
--- a/src/video_core/engines/shader_bytecode.h
+++ b/src/video_core/engines/shader_bytecode.h
@@ -213,6 +213,7 @@ union Instruction {
213 BitField<28, 8, Register> gpr28; 213 BitField<28, 8, Register> gpr28;
214 BitField<39, 8, Register> gpr39; 214 BitField<39, 8, Register> gpr39;
215 BitField<48, 16, u64> opcode; 215 BitField<48, 16, u64> opcode;
216 BitField<50, 1, u64> saturate_a;
216 217
217 union { 218 union {
218 BitField<20, 19, u64> imm20_19; 219 BitField<20, 19, u64> imm20_19;
@@ -331,7 +332,6 @@ union Instruction {
331 BitField<41, 2, u64> selector; 332 BitField<41, 2, u64> selector;
332 BitField<45, 1, u64> negate_a; 333 BitField<45, 1, u64> negate_a;
333 BitField<49, 1, u64> abs_a; 334 BitField<49, 1, u64> abs_a;
334 BitField<50, 1, u64> saturate_a;
335 335
336 union { 336 union {
337 BitField<39, 2, F2iRoundingOp> rounding; 337 BitField<39, 2, F2iRoundingOp> rounding;