summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/attribute.h
diff options
context:
space:
mode:
authorGravatar Fernando S2021-12-22 17:36:05 +0100
committerGravatar GitHub2021-12-22 17:36:05 +0100
commit648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512 (patch)
tree6e489900becbae18884335745d9e3409761c319e /src/shader_recompiler/frontend/ir/attribute.h
parentMerge pull request #7599 from FernandoS27/primrestart-vulkan (diff)
parentAddress format clang (diff)
downloadyuzu-648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512.tar.gz
yuzu-648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512.tar.xz
yuzu-648c7b4ed6fb86d6f98a6e19301c53c1ccfdd512.zip
Merge pull request #7375 from vonchenplus/convert_legacy
Convert all legacy attributes to generic attributes
Diffstat (limited to 'src/shader_recompiler/frontend/ir/attribute.h')
-rw-r--r--src/shader_recompiler/frontend/ir/attribute.h2
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 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
225constexpr size_t NUM_GENERICS = 32; 225constexpr size_t NUM_GENERICS = 32;
226 226
227constexpr 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);