From 06bf25521ff3ab2ad82eb49cde2bb6f90324caa2 Mon Sep 17 00:00:00 2001 From: Elise Date: Thu, 26 Mar 2020 23:30:16 +0100 Subject: 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 --- Ryujinx.Graphics.Shader/Instructions/InstEmitFlow.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Ryujinx.Graphics.Shader/Instructions') 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); -- cgit v1.2.3