diff options
author | Feng Chen <vonchenplus@gmail.com> | 2021-09-04 00:12:06 +0800 |
---|---|---|
committer | Feng Chen <chen.feng@gloritysolutions.com> | 2021-09-06 10:36:45 +0800 |
commit | d994466a08efaa2c06237e6ac840bc0e9000d433 (patch) | |
tree | 384c1f3e32a34ff8680ee86c083bde8e9acfb788 /src/shader_recompiler/frontend/ir/attribute.h | |
parent | a7bbaa489755c9847416c8c96f0eefb9e78a50a0 (diff) |
Implement intput and output fixed fnc textures
Diffstat (limited to 'src/shader_recompiler/frontend/ir/attribute.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/attribute.h | 2 |
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 3f07fd7acb..9ca4dd76ec 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); |