diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/decode/arithmetic_half.cpp | 3 | ||||
| -rw-r--r-- | src/video_core/shader/decode/xmad.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/shader/decode/arithmetic_half.cpp b/src/video_core/shader/decode/arithmetic_half.cpp index a6c6f3174..9547eae5d 100644 --- a/src/video_core/shader/decode/arithmetic_half.cpp +++ b/src/video_core/shader/decode/arithmetic_half.cpp | |||
| @@ -20,8 +20,7 @@ u32 ShaderIR::DecodeArithmeticHalf(BasicBlock& bb, u32 pc) { | |||
| 20 | opcode->get().GetId() == OpCode::Id::HADD2_R) { | 20 | opcode->get().GetId() == OpCode::Id::HADD2_R) { |
| 21 | UNIMPLEMENTED_IF(instr.alu_half.ftz != 0); | 21 | UNIMPLEMENTED_IF(instr.alu_half.ftz != 0); |
| 22 | } | 22 | } |
| 23 | UNIMPLEMENTED_IF_MSG(instr.alu_half.saturate != 0, | 23 | UNIMPLEMENTED_IF_MSG(instr.alu_half.saturate != 0, "Half float saturation not implemented"); |
| 24 | "Half float saturation not implemented"); | ||
| 25 | 24 | ||
| 26 | const bool negate_a = | 25 | const bool negate_a = |
| 27 | opcode->get().GetId() != OpCode::Id::HMUL2_R && instr.alu_half.negate_a != 0; | 26 | opcode->get().GetId() != OpCode::Id::HMUL2_R && instr.alu_half.negate_a != 0; |
diff --git a/src/video_core/shader/decode/xmad.cpp b/src/video_core/shader/decode/xmad.cpp index fcab1fb80..596f0ddc8 100644 --- a/src/video_core/shader/decode/xmad.cpp +++ b/src/video_core/shader/decode/xmad.cpp | |||
| @@ -21,7 +21,7 @@ u32 ShaderIR::DecodeXmad(BasicBlock& bb, u32 pc) { | |||
| 21 | UNIMPLEMENTED_IF_MSG(instr.generates_cc, | 21 | UNIMPLEMENTED_IF_MSG(instr.generates_cc, |
| 22 | "Condition codes generation in XMAD is not implemented"); | 22 | "Condition codes generation in XMAD is not implemented"); |
| 23 | 23 | ||
| 24 | Node op_a = GetRegister(instr.gpr8); // instr.xmad.sign_a | 24 | Node op_a = GetRegister(instr.gpr8); |
| 25 | 25 | ||
| 26 | // TODO(bunnei): Needs to be fixed once op_a or op_b is signed | 26 | // TODO(bunnei): Needs to be fixed once op_a or op_b is signed |
| 27 | UNIMPLEMENTED_IF(instr.xmad.sign_a != instr.xmad.sign_b); | 27 | UNIMPLEMENTED_IF(instr.xmad.sign_a != instr.xmad.sign_b); |