Implement VMAD shader instruction and improve InvocationInfo and ISBERD handling (#3251)
* Implement VMAD shader instruction and improve InvocationInfo and ISBERD handling * Shader cache version bump * Fix typo
This commit is contained in:
parent
3139a85a2b
commit
e44a43c7e1
9 changed files with 171 additions and 61 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue