diff options
| author | 2021-09-04 00:12:06 +0800 | |
|---|---|---|
| committer | 2021-09-06 10:36:45 +0800 | |
| commit | d994466a08efaa2c06237e6ac840bc0e9000d433 (patch) | |
| tree | 384c1f3e32a34ff8680ee86c083bde8e9acfb788 /src/shader_recompiler/frontend/ir/attribute.h | |
| parent | Rename parameters (diff) | |
| download | yuzu-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.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 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 { | |||
| 225 | constexpr size_t NUM_FIXEDFNCTEXTURE = 10; | 225 | constexpr size_t NUM_FIXEDFNCTEXTURE = 10; |
| 226 | constexpr size_t NUM_GENERICS = 32; | 226 | constexpr 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); |