summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir
diff options
context:
space:
mode:
authorGravatar Feng Chen2021-09-04 00:12:06 +0800
committerGravatar Feng Chen2021-09-06 10:36:45 +0800
commitd994466a08efaa2c06237e6ac840bc0e9000d433 (patch)
tree384c1f3e32a34ff8680ee86c083bde8e9acfb788 /src/shader_recompiler/frontend/ir
parentRename parameters (diff)
downloadyuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.gz
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.tar.xz
yuzu-d994466a08efaa2c06237e6ac840bc0e9000d433.zip
Implement intput and output fixed fnc textures
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 {
225constexpr size_t NUM_FIXEDFNCTEXTURE = 10; 225constexpr size_t NUM_FIXEDFNCTEXTURE = 10;
226constexpr size_t NUM_GENERICS = 32; 226constexpr size_t NUM_GENERICS = 32;
227 227
228[[nodiscard]] bool IsFixedFncTexture(Attribute attribute);
229
228[[nodiscard]] u32 FixedFncTextureAttributeIndex(Attribute attribute); 230[[nodiscard]] u32 FixedFncTextureAttributeIndex(Attribute attribute);
229 231
230[[nodiscard]] u32 FixedFncTextureAttributeElement(Attribute attribute); 232[[nodiscard]] u32 FixedFncTextureAttributeElement(Attribute attribute);