Gather legacy info from program header

This commit is contained in:
vonchenplus
2021-11-17 23:45:54 +08:00
parent 71313509f7
commit 7b6d8a1d22
4 changed files with 56 additions and 33 deletions

View File

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