diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir/opcodes.inc')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/opcodes.inc | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.inc index 5dc65f2df..ede5e20c2 100644 --- a/src/shader_recompiler/frontend/ir/opcodes.inc +++ b/src/shader_recompiler/frontend/ir/opcodes.inc | |||
| @@ -10,15 +10,17 @@ OPCODE(Identity, Opaque, Opaq | |||
| 10 | // Control flow | 10 | // Control flow |
| 11 | OPCODE(Branch, Void, Label, ) | 11 | OPCODE(Branch, Void, Label, ) |
| 12 | OPCODE(BranchConditional, Void, U1, Label, Label, ) | 12 | OPCODE(BranchConditional, Void, U1, Label, Label, ) |
| 13 | OPCODE(Exit, Void, ) | 13 | OPCODE(LoopMerge, Void, Label, Label, ) |
| 14 | OPCODE(SelectionMerge, Void, Label, ) | ||
| 14 | OPCODE(Return, Void, ) | 15 | OPCODE(Return, Void, ) |
| 15 | OPCODE(Unreachable, Void, ) | ||
| 16 | 16 | ||
| 17 | // Context getters/setters | 17 | // Context getters/setters |
| 18 | OPCODE(GetRegister, U32, Reg, ) | 18 | OPCODE(GetRegister, U32, Reg, ) |
| 19 | OPCODE(SetRegister, Void, Reg, U32, ) | 19 | OPCODE(SetRegister, Void, Reg, U32, ) |
| 20 | OPCODE(GetPred, U1, Pred, ) | 20 | OPCODE(GetPred, U1, Pred, ) |
| 21 | OPCODE(SetPred, Void, Pred, U1, ) | 21 | OPCODE(SetPred, Void, Pred, U1, ) |
| 22 | OPCODE(GetGotoVariable, U1, U32, ) | ||
| 23 | OPCODE(SetGotoVariable, Void, U32, U1, ) | ||
| 22 | OPCODE(GetCbuf, U32, U32, U32, ) | 24 | OPCODE(GetCbuf, U32, U32, U32, ) |
| 23 | OPCODE(GetAttribute, U32, Attribute, ) | 25 | OPCODE(GetAttribute, U32, Attribute, ) |
| 24 | OPCODE(SetAttribute, Void, Attribute, U32, ) | 26 | OPCODE(SetAttribute, Void, Attribute, U32, ) |
| @@ -36,11 +38,11 @@ OPCODE(WorkgroupId, U32x3, | |||
| 36 | OPCODE(LocalInvocationId, U32x3, ) | 38 | OPCODE(LocalInvocationId, U32x3, ) |
| 37 | 39 | ||
| 38 | // Undefined | 40 | // Undefined |
| 39 | OPCODE(Undef1, U1, ) | 41 | OPCODE(UndefU1, U1, ) |
| 40 | OPCODE(Undef8, U8, ) | 42 | OPCODE(UndefU8, U8, ) |
| 41 | OPCODE(Undef16, U16, ) | 43 | OPCODE(UndefU16, U16, ) |
| 42 | OPCODE(Undef32, U32, ) | 44 | OPCODE(UndefU32, U32, ) |
| 43 | OPCODE(Undef64, U64, ) | 45 | OPCODE(UndefU64, U64, ) |
| 44 | 46 | ||
| 45 | // Memory operations | 47 | // Memory operations |
| 46 | OPCODE(LoadGlobalU8, U32, U64, ) | 48 | OPCODE(LoadGlobalU8, U32, U64, ) |