diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/attribute.h | 2 | ||||
| -rw-r--r-- | src/shader_recompiler/frontend/ir/opcodes.inc | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h index ca1199494..3bbd38a03 100644 --- a/src/shader_recompiler/frontend/ir/attribute.h +++ b/src/shader_recompiler/frontend/ir/attribute.h | |||
| @@ -224,6 +224,8 @@ enum class Attribute : u64 { | |||
| 224 | 224 | ||
| 225 | constexpr size_t NUM_GENERICS = 32; | 225 | constexpr size_t NUM_GENERICS = 32; |
| 226 | 226 | ||
| 227 | constexpr size_t NUM_FIXEDFNCTEXTURE = 10; | ||
| 228 | |||
| 227 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; | 229 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; |
| 228 | 230 | ||
| 229 | [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); | 231 | [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); |
diff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.inc index 6929919df..b94ce7406 100644 --- a/src/shader_recompiler/frontend/ir/opcodes.inc +++ b/src/shader_recompiler/frontend/ir/opcodes.inc | |||
| @@ -40,6 +40,7 @@ OPCODE(GetCbufU32, U32, U32, | |||
| 40 | OPCODE(GetCbufF32, F32, U32, U32, ) | 40 | OPCODE(GetCbufF32, F32, U32, U32, ) |
| 41 | OPCODE(GetCbufU32x2, U32x2, U32, U32, ) | 41 | OPCODE(GetCbufU32x2, U32x2, U32, U32, ) |
| 42 | OPCODE(GetAttribute, F32, Attribute, U32, ) | 42 | OPCODE(GetAttribute, F32, Attribute, U32, ) |
| 43 | OPCODE(GetAttributeU32, U32, Attribute, U32, ) | ||
| 43 | OPCODE(SetAttribute, Void, Attribute, F32, U32, ) | 44 | OPCODE(SetAttribute, Void, Attribute, F32, U32, ) |
| 44 | OPCODE(GetAttributeIndexed, F32, U32, U32, ) | 45 | OPCODE(GetAttributeIndexed, F32, U32, U32, ) |
| 45 | OPCODE(SetAttributeIndexed, Void, U32, F32, U32, ) | 46 | OPCODE(SetAttributeIndexed, Void, U32, F32, U32, ) |