diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/shader/decode/shift.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/shader/decode/shift.cpp b/src/video_core/shader/decode/shift.cpp index 76938fa05..3ba039d21 100644 --- a/src/video_core/shader/decode/shift.cpp +++ b/src/video_core/shader/decode/shift.cpp | |||
| @@ -39,6 +39,14 @@ u32 ShaderIR::DecodeShift(BasicBlock& bb, u32 pc) { | |||
| 39 | SetRegister(bb, instr.gpr0, value); | 39 | SetRegister(bb, instr.gpr0, value); |
| 40 | break; | 40 | break; |
| 41 | } | 41 | } |
| 42 | case OpCode::Id::SHL_C: | ||
| 43 | case OpCode::Id::SHL_R: | ||
| 44 | case OpCode::Id::SHL_IMM: | ||
| 45 | UNIMPLEMENTED_IF_MSG(instr.generates_cc, | ||
| 46 | "Condition codes generation in SHL is not implemented"); | ||
| 47 | SetRegister(bb, instr.gpr0, | ||
| 48 | Operation(OperationCode::ILogicalShiftLeft, PRECISE, op_a, op_b)); | ||
| 49 | break; | ||
| 42 | default: | 50 | default: |
| 43 | UNIMPLEMENTED_MSG("Unhandled shift instruction: {}", opcode->get().GetName()); | 51 | UNIMPLEMENTED_MSG("Unhandled shift instruction: {}", opcode->get().GetName()); |
| 44 | } | 52 | } |