summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/video_core/shader/decode/xmad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/xmad.cpp b/src/video_core/shader/decode/xmad.cpp
index 3ceabecb5..9f2d636b8 100644
--- a/src/video_core/shader/decode/xmad.cpp
+++ b/src/video_core/shader/decode/xmad.cpp
@@ -55,7 +55,7 @@ u32 ShaderIR::DecodeXmad(BasicBlock& bb, const BasicBlock& code, u32 pc) {
55 // TODO(Rodrigo): Use an appropiate sign for this operation 55 // TODO(Rodrigo): Use an appropiate sign for this operation
56 Node product = Operation(OperationCode::IMul, NO_PRECISE, op_a, op_b); 56 Node product = Operation(OperationCode::IMul, NO_PRECISE, op_a, op_b);
57 if (instr.xmad.product_shift_left) { 57 if (instr.xmad.product_shift_left) {
58 product = Operation(OperationCode::ILogicalShiftLeft, NO_PRECISE, op_a, Immediate(16)); 58 product = Operation(OperationCode::ILogicalShiftLeft, NO_PRECISE, product, Immediate(16));
59 } 59 }
60 60
61 op_c = [&]() { 61 op_c = [&]() {