diff options
| author | 2021-03-19 19:28:31 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | 260743f371236f7c57b01334b1c3474b15a47c39 (patch) | |
| tree | 312d89fa8215199ef5f7ec1fc84b025df526e107 /src/shader_recompiler/frontend/ir/opcodes.inc | |
| parent | shader: Implement DADD (diff) | |
| download | yuzu-260743f371236f7c57b01334b1c3474b15a47c39.tar.gz yuzu-260743f371236f7c57b01334b1c3474b15a47c39.tar.xz yuzu-260743f371236f7c57b01334b1c3474b15a47c39.zip | |
shader: Add partial rasterizer integration
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/opcodes.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.inc index 9052a4903..593faca52 100644 --- a/src/shader_recompiler/frontend/ir/opcodes.inc +++ b/src/shader_recompiler/frontend/ir/opcodes.inc | |||
| @@ -13,6 +13,7 @@ OPCODE(BranchConditional, Void, U1, | |||
| 13 | OPCODE(LoopMerge, Void, Label, Label, ) | 13 | OPCODE(LoopMerge, Void, Label, Label, ) |
| 14 | OPCODE(SelectionMerge, Void, Label, ) | 14 | OPCODE(SelectionMerge, Void, Label, ) |
| 15 | OPCODE(Return, Void, ) | 15 | OPCODE(Return, Void, ) |
| 16 | OPCODE(DemoteToHelperInvocation, Void, Label, ) | ||
| 16 | 17 | ||
| 17 | // Context getters/setters | 18 | // Context getters/setters |
| 18 | OPCODE(GetRegister, U32, Reg, ) | 19 | OPCODE(GetRegister, U32, Reg, ) |
| @@ -28,10 +29,12 @@ OPCODE(GetCbufS16, U32, U32, | |||
| 28 | OPCODE(GetCbufU32, U32, U32, U32, ) | 29 | OPCODE(GetCbufU32, U32, U32, U32, ) |
| 29 | OPCODE(GetCbufF32, F32, U32, U32, ) | 30 | OPCODE(GetCbufF32, F32, U32, U32, ) |
| 30 | OPCODE(GetCbufU64, U64, U32, U32, ) | 31 | OPCODE(GetCbufU64, U64, U32, U32, ) |
| 31 | OPCODE(GetAttribute, U32, Attribute, ) | 32 | OPCODE(GetAttribute, F32, Attribute, ) |
| 32 | OPCODE(SetAttribute, Void, Attribute, U32, ) | 33 | OPCODE(SetAttribute, Void, Attribute, F32, ) |
| 33 | OPCODE(GetAttributeIndexed, U32, U32, ) | 34 | OPCODE(GetAttributeIndexed, F32, U32, ) |
| 34 | OPCODE(SetAttributeIndexed, Void, U32, U32, ) | 35 | OPCODE(SetAttributeIndexed, Void, U32, F32, ) |
| 36 | OPCODE(SetFragColor, Void, U32, U32, F32, ) | ||
| 37 | OPCODE(SetFragDepth, Void, F32, ) | ||
| 35 | OPCODE(GetZFlag, U1, Void, ) | 38 | OPCODE(GetZFlag, U1, Void, ) |
| 36 | OPCODE(GetSFlag, U1, Void, ) | 39 | OPCODE(GetSFlag, U1, Void, ) |
| 37 | OPCODE(GetCFlag, U1, Void, ) | 40 | OPCODE(GetCFlag, U1, Void, ) |