diff options
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/attribute.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h index ca1199494..6957fb43b 100644 --- a/src/shader_recompiler/frontend/ir/attribute.h +++ b/src/shader_recompiler/frontend/ir/attribute.h | |||
| @@ -222,8 +222,13 @@ enum class Attribute : u64 { | |||
| 222 | FrontFace = 255, | 222 | FrontFace = 255, |
| 223 | }; | 223 | }; |
| 224 | 224 | ||
| 225 | constexpr size_t NUM_TXT_COORD = 10; | ||
| 225 | constexpr size_t NUM_GENERICS = 32; | 226 | constexpr size_t NUM_GENERICS = 32; |
| 226 | 227 | ||
| 228 | [[nodiscard]] u32 TxtCoordAttributeIndex(Attribute attribute); | ||
| 229 | |||
| 230 | [[nodiscard]] u32 TxtCoordAttributeElement(Attribute attribute); | ||
| 231 | |||
| 227 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; | 232 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; |
| 228 | 233 | ||
| 229 | [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); | 234 | [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); |