aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ryujinx.Graphics.Shader/Instructions/InstEmitAlu.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitAlu.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitAlu.cs
index e55f1f32..b883edc1 100644
--- a/Ryujinx.Graphics.Shader/Instructions/InstEmitAlu.cs
+++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitAlu.cs
@@ -674,7 +674,12 @@ namespace Ryujinx.Graphics.Shader.Instructions
bool productShiftLeft = false;
bool merge = false;
- if (!(op is OpCodeAluRegCbuf))
+ if (op is OpCodeAluCbuf)
+ {
+ productShiftLeft = context.CurrOp.RawOpCode.Extract(55);
+ merge = context.CurrOp.RawOpCode.Extract(56);
+ }
+ else if (!(op is OpCodeAluRegCbuf))
{
productShiftLeft = context.CurrOp.RawOpCode.Extract(36);
merge = context.CurrOp.RawOpCode.Extract(37);