From 9cdf2383e99fac2110d788da070f16b2b5c678e7 Mon Sep 17 00:00:00 2001 From: Feng Chen Date: Tue, 7 Sep 2021 12:34:35 +0800 Subject: Move attribute related definitions to spirv anonymous namespace --- src/shader_recompiler/frontend/ir/attribute.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/shader_recompiler/frontend/ir/attribute.h') 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 { FrontFace = 255, }; -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); - [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); -- cgit v1.2.3