aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-25 16:02:52 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commitb8528c6317423d91aefe12d927466df0c09cc172 (patch)
tree15e4f33d48b49504fb79ccf8b442f2f2fa5bb1b5 /Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
parent65428f5842311e2cacb49d2b9e24a3b803fe1f82 (diff)
Implement HSET2 shader instruction and fix errors uncovered by Rodrigo tests
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
index d84a5820..599c674f 100644
--- a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
+++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs
@@ -89,6 +89,9 @@ namespace Ryujinx.Graphics.Shader.Decoders
Set("0111100x0xxxxx", InstEmit.Hmul2, typeof(OpCodeAluImm2x10));
Set("0010101xxxxxxx", InstEmit.Hmul2, typeof(OpCodeAluImm32));
Set("0101110100001x", InstEmit.Hmul2, typeof(OpCodeAluReg));
+ Set("0111110x1xxxxx", InstEmit.Hset2, typeof(OpCodeSetCbuf));
+ Set("0111110x0xxxxx", InstEmit.Hset2, typeof(OpCodeHsetImm2x10));
+ Set("0101110100011x", InstEmit.Hset2, typeof(OpCodeSetReg));
Set("0111111x1xxxxx", InstEmit.Hsetp2, typeof(OpCodeSetCbuf));
Set("0111111x0xxxxx", InstEmit.Hsetp2, typeof(OpCodeHsetImm2x10));
Set("0101110100100x", InstEmit.Hsetp2, typeof(OpCodeSetReg));