summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/attribute.h
diff options
context:
space:
mode:
authorFeng Chen <vonchenplus@gmail.com>2021-09-03 18:12:06 +0200
committerFeng Chen <chen.feng@gloritysolutions.com>2021-09-06 04:36:45 +0200
commitd994466a08efaa2c06237e6ac840bc0e9000d433 (patch)
tree384c1f3e32a34ff8680ee86c083bde8e9acfb788 /src/shader_recompiler/frontend/ir/attribute.h
parentRename parameters (diff)
downloadyuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.gz
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.bz2
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.lz
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.xz
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.zst
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.zip
Diffstat (limited to '')
-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 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);