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
This commit is contained in:
Elise 2020-03-26 23:30:16 +01:00 committed by GitHub
parent 0dd38028cb
commit 06bf25521f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -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);