diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-04-08 07:42:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-08 12:42:39 +0200 |
commit | e44a43c7e1ee0b25ef93a9419dbd6ac2eb7665b5 (patch) | |
tree | d0587a15710c0d7a525117c22304e717b7fea2ec /Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs | |
parent | 3139a85a2b8e83aa6babfbc683bd46ca1d75e448 (diff) |
Implement VMAD shader instruction and improve InvocationInfo and ISBERD handling (#3251)1.1.99
* Implement VMAD shader instruction and improve InvocationInfo and ISBERD handling
* Shader cache version bump
* Fix typo
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs b/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs index b7a0caf1..98a43640 100644 --- a/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs +++ b/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs @@ -5144,6 +5144,7 @@ namespace Ryujinx.Graphics.Shader.Decoders public int SrcC => (int)((_opcode >> 39) & 0xFF); public int Pred => (int)((_opcode >> 16) & 0x7); public bool PredInv => (_opcode & 0x80000) != 0; + public int Imm16 => (int)((_opcode >> 20) & 0xFFFF); public bool WriteCC => (_opcode & 0x800000000000) != 0; public AvgMode AvgMode => (AvgMode)((_opcode >> 56) & 0x3); public bool DFormat => (_opcode & 0x40000000000000) != 0; @@ -5164,6 +5165,7 @@ namespace Ryujinx.Graphics.Shader.Decoders public int SrcC => (int)((_opcode >> 39) & 0xFF); public int Pred => (int)((_opcode >> 16) & 0x7); public bool PredInv => (_opcode & 0x80000) != 0; + public int Imm16 => (int)((_opcode >> 20) & 0xFFFF); public bool WriteCC => (_opcode & 0x800000000000) != 0; public VectorSelect ASelect => (VectorSelect)((int)((_opcode >> 45) & 0x8) | (int)((_opcode >> 36) & 0x7)); public VectorSelect BSelect => (VectorSelect)((int)((_opcode >> 46) & 0x8) | (int)((_opcode >> 28) & 0x7)); |