summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/attribute.h
diff options
context:
space:
mode:
authorGravatar Feng Chen2021-09-07 12:34:35 +0800
committerGravatar Feng Chen2021-09-07 12:34:35 +0800
commit9cdf2383e99fac2110d788da070f16b2b5c678e7 (patch)
treea4857abbacebf3659e6b5c647eceb5a64146a26b /src/shader_recompiler/frontend/ir/attribute.h
parentDynamic get unused location (diff)
downloadyuzu-9cdf2383e99fac2110d788da070f16b2b5c678e7.tar.gz
yuzu-9cdf2383e99fac2110d788da070f16b2b5c678e7.tar.xz
yuzu-9cdf2383e99fac2110d788da070f16b2b5c678e7.zip
Move attribute related definitions to spirv anonymous namespace
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/attribute.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h
index 9ca4dd76e..ca1199494 100644
--- a/src/shader_recompiler/frontend/ir/attribute.h
+++ b/src/shader_recompiler/frontend/ir/attribute.h
@@ -222,15 +222,8 @@ enum class Attribute : u64 {
222 FrontFace = 255, 222 FrontFace = 255,
223}; 223};
224 224
225constexpr size_t NUM_FIXEDFNCTEXTURE = 10;
226constexpr size_t NUM_GENERICS = 32; 225constexpr size_t NUM_GENERICS = 32;
227 226
228[[nodiscard]] bool IsFixedFncTexture(Attribute attribute);
229
230[[nodiscard]] u32 FixedFncTextureAttributeIndex(Attribute attribute);
231
232[[nodiscard]] u32 FixedFncTextureAttributeElement(Attribute attribute);
233
234[[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; 227[[nodiscard]] bool IsGeneric(Attribute attribute) noexcept;
235 228
236[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); 229[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute);