diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir')
-rw-r--r-- | src/shader_recompiler/frontend/ir/attribute.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h index 3f07fd7ac..9ca4dd76e 100644 --- a/src/shader_recompiler/frontend/ir/attribute.h +++ b/src/shader_recompiler/frontend/ir/attribute.h @@ -225,6 +225,8 @@ enum class Attribute : u64 { constexpr size_t NUM_FIXEDFNCTEXTURE = 10; constexpr size_t NUM_GENERICS = 32; +[[nodiscard]] bool IsFixedFncTexture(Attribute attribute); + [[nodiscard]] u32 FixedFncTextureAttributeIndex(Attribute attribute); [[nodiscard]] u32 FixedFncTextureAttributeElement(Attribute attribute); |