Implement convert legacy to generic

This commit is contained in:
Feng Chen 2021-11-19 15:32:53 +08:00 committed by vonchenplus
parent 0bc46fedd6
commit 4dd85f86a8
6 changed files with 108 additions and 1 deletions

View file

@ -224,6 +224,8 @@ enum class Attribute : u64 {
constexpr size_t NUM_GENERICS = 32;
constexpr size_t NUM_FIXED_FNC_TEXTURES = 10;
[[nodiscard]] bool IsGeneric(Attribute attribute) noexcept;
[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute);