diff options
| author | 2021-09-03 23:52:20 +0800 | |
|---|---|---|
| committer | 2021-09-03 23:52:20 +0800 | |
| commit | a7bbaa489755c9847416c8c96f0eefb9e78a50a0 (patch) | |
| tree | 341ab621a49becca148157877d6e57e2a31ba770 /src/shader_recompiler/frontend/ir/attribute.h | |
| parent | Fix create GraphicsPipelines crash (diff) | |
| download | yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.gz yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.tar.xz yuzu-a7bbaa489755c9847416c8c96f0eefb9e78a50a0.zip | |
Rename parameters
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/attribute.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.h index 6957fb43b..3f07fd7ac 100644 --- a/src/shader_recompiler/frontend/ir/attribute.h +++ b/src/shader_recompiler/frontend/ir/attribute.h | |||
| @@ -222,12 +222,12 @@ enum class Attribute : u64 { | |||
| 222 | FrontFace = 255, | 222 | FrontFace = 255, |
| 223 | }; | 223 | }; |
| 224 | 224 | ||
| 225 | constexpr size_t NUM_TXT_COORD = 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]] u32 TxtCoordAttributeIndex(Attribute attribute); | 228 | [[nodiscard]] u32 FixedFncTextureAttributeIndex(Attribute attribute); |
| 229 | 229 | ||
| 230 | [[nodiscard]] u32 TxtCoordAttributeElement(Attribute attribute); | 230 | [[nodiscard]] u32 FixedFncTextureAttributeElement(Attribute attribute); |
| 231 | 231 | ||
| 232 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; | 232 | [[nodiscard]] bool IsGeneric(Attribute attribute) noexcept; |
| 233 | 233 | ||