From f02791b20c2841c4f39747e4db243f9992b86846 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 13 Oct 2020 19:33:04 -0300 Subject: [PATCH] Fix LOP3 (cbuf) shader instruction encoding (#1616) --- Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs index edbd8bb29..1b5f5c7c2 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));