aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/attribute.h
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-11-19 15:32:53 +0800
committervonchenplus <vonchenplus@gmail.com>2021-11-19 22:53:58 +0800
commit4dd85f86a89338ff84d05a3981c14f6de1be4606 (patch)
treeb2a48b24bf216a325e62f5e363bc98b41de84444 /src/shader_recompiler/frontend/ir/attribute.h
parent0bc46fedd617f6a42c53716680ed99d8f42bf99a (diff)
Implement convert legacy to generic
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 ca11994943..5c5e7bb4ba 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 {
constexpr size_t NUM_GENERICS = 32;
+constexpr size_t NUM_FIXED_FNC_TEXTURES = 10;
+
[[nodiscard]] bool IsGeneric(Attribute attribute) noexcept;
[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute);