aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-10-13 19:33:04 -0300
committerGitHub <noreply@github.com>2020-10-13 19:33:04 -0300
commitf02791b20c2841c4f39747e4db243f9992b86846 (patch)
tree5290c75b4090dcecaa426474272de21d5dc726d0
parentaec8177850885c58d77901139a9d41bdcef13334 (diff)
Fix LOP3 (cbuf) shader instruction encoding (#1616)
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
index edbd8bb2..1b5f5c7c 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
@@ -185,7 +185,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
Set("0011100001000x", InstEmit.Lop, typeof(OpCodeLopImm));
Set("000001xxxxxxxx", InstEmit.Lop, typeof(OpCodeLopImm32));
Set("0101110001000x", InstEmit.Lop, typeof(OpCodeLopReg));
- Set("0010000xxxxxxx", InstEmit.Lop3, typeof(OpCodeLopCbuf));
+ Set("0000001xxxxxxx", InstEmit.Lop3, typeof(OpCodeLopCbuf));
Set("001111xxxxxxxx", InstEmit.Lop3, typeof(OpCodeLopImm));
Set("0101101111100x", InstEmit.Lop3, typeof(OpCodeLopReg));
Set("1110111110011x", InstEmit.Membar, typeof(OpCodeMemoryBarrier));