diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2019-12-14 14:51:00 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 2eccc7023ae0d1247378516b14507d422e4915c5 (patch) | |
| tree | 8ae9a8905394717347a775997ae0347483a9b0d8 /Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs | |
| parent | 1a550e810c71670e5a2f032ec136fb2f5f57ac9c (diff) | |
Partial support for shader memory barriers
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs index bdc7ed80..87f1de0c 100644 --- a/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs +++ b/Ryujinx.Graphics.Shader/Decoders/OpCodeTable.cs @@ -33,6 +33,7 @@ namespace Ryujinx.Graphics.Shader.Decoders Set("1110111111011x", InstEmit.Ald, typeof(OpCodeAttribute)); Set("1110111111110x", InstEmit.Ast, typeof(OpCodeAttribute)); Set("11101100xxxxxx", InstEmit.Atoms, typeof(OpCodeAtom)); + Set("1111000010101x", InstEmit.Bar, typeof(OpCodeBarrier)); Set("0100110000000x", InstEmit.Bfe, typeof(OpCodeAluCbuf)); Set("0011100x00000x", InstEmit.Bfe, typeof(OpCodeAluImm)); Set("0101110000000x", InstEmit.Bfe, typeof(OpCodeAluReg)); @@ -140,6 +141,7 @@ namespace Ryujinx.Graphics.Shader.Decoders Set("0010000xxxxxxx", InstEmit.Lop3, typeof(OpCodeLopCbuf)); Set("001111xxxxxxxx", InstEmit.Lop3, typeof(OpCodeLopImm)); Set("0101101111100x", InstEmit.Lop3, typeof(OpCodeLopReg)); + Set("1110111110011x", InstEmit.Membar, typeof(OpCodeMemoryBarrier)); Set("0100110010011x", InstEmit.Mov, typeof(OpCodeAluCbuf)); Set("0011100x10011x", InstEmit.Mov, typeof(OpCodeAluImm)); Set("000000010000xx", InstEmit.Mov, typeof(OpCodeAluImm32)); |
