diff options
| author | 2021-11-19 15:32:53 +0800 | |
|---|---|---|
| committer | 2021-11-19 22:53:58 +0800 | |
| commit | 4dd85f86a89338ff84d05a3981c14f6de1be4606 (patch) | |
| tree | b2a48b24bf216a325e62f5e363bc98b41de84444 /src/shader_recompiler/frontend/ir/attribute.h | |
| parent | Merge pull request #7349 from ameerj/ogl-convert-image (diff) | |
| download | yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.tar.gz yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.tar.xz yuzu-4dd85f86a89338ff84d05a3981c14f6de1be4606.zip | |
Implement convert legacy to generic
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 ca1199494..5c5e7bb4b 100644 --- a/src/shader_recompiler/frontend/ir/attribute.h +++ b/src/shader_recompiler/frontend/ir/attribute.h | |||
| @@ -224,6 +224,8 @@ enum class Attribute : u64 { | |||
| 224 | 224 | ||
| 225 | constexpr size_t NUM_GENERICS = 32; | 225 | constexpr size_t NUM_GENERICS = 32; |
| 226 | 226 | ||
| 227 | constexpr size_t NUM_FIXED_FNC_TEXTURES = 10; | ||
| 228 | |||
| 227 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; | 229 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; |
| 228 | 230 | ||
| 229 | [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); | 231 | [[nodiscard]] u32 GenericAttributeIndex(Attribute attribute); |