From 5f3d6c85db8e90b9ea9f113821befc8edaa4b875 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 9 Jun 2018 02:36:33 -0400 Subject: gl_shader_decompiler: Implement saturate for float instructions. --- src/video_core/engines/shader_bytecode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/video_core/engines/shader_bytecode.h') diff --git a/src/video_core/engines/shader_bytecode.h b/src/video_core/engines/shader_bytecode.h index ec8dbd370..c158ffed2 100644 --- a/src/video_core/engines/shader_bytecode.h +++ b/src/video_core/engines/shader_bytecode.h @@ -213,7 +213,6 @@ union Instruction { BitField<28, 8, Register> gpr28; BitField<39, 8, Register> gpr39; BitField<48, 16, u64> opcode; - BitField<50, 1, u64> saturate_a; union { BitField<20, 19, u64> imm20_19; @@ -222,7 +221,7 @@ union Instruction { BitField<46, 1, u64> abs_a; BitField<48, 1, u64> negate_a; BitField<49, 1, u64> abs_b; - BitField<50, 1, u64> abs_d; + BitField<50, 1, u64> saturate_d; BitField<56, 1, u64> negate_imm; union { -- cgit v1.2.3