aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Instructions
diff options
context:
space:
mode:
authorElise <elise@headpat.services>2020-03-26 23:30:16 +0100
committerGitHub <noreply@github.com>2020-03-26 19:30:16 -0300
commit06bf25521ff3ab2ad82eb49cde2bb6f90324caa2 (patch)
treed994933039fd11c04076862f77635de113be0998 /Ryujinx.Graphics.Shader/Instructions
parent0dd38028cbf54b672a41fcec0024740ff8ccea72 (diff)
Implement NOP and stub DEPBAR shader instructions (#1041)
* Implement NOP and stub DEPBAR shader instruction * Fix a few issues and formatting stuff * Remove OpCodeNop/Depbar and use OpCode instead * Fix NOP shader instruction opcode * Fix formatting
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions')
-rw-r--r--Ryujinx.Graphics.Shader/Instructions/InstEmitFlow.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitFlow.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitFlow.cs
index 4b058a84..e34f2988 100644
--- a/Ryujinx.Graphics.Shader/Instructions/InstEmitFlow.cs
+++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitFlow.cs
@@ -51,6 +51,8 @@ namespace Ryujinx.Graphics.Shader.Instructions
}
}
+ public static void Depbar(EmitterContext context) { }
+
public static void Exit(EmitterContext context)
{
OpCodeExit op = (OpCodeExit)context.CurrOp;
@@ -68,6 +70,8 @@ namespace Ryujinx.Graphics.Shader.Instructions
context.Discard();
}
+ public static void Nop(EmitterContext context) { }
+
public static void Pbk(EmitterContext context)
{
EmitPbkOrSsy(context);