forked from eden-emu/eden
Move attribute related definitions to spirv anonymous namespace
This commit is contained in:
parent
dc8967ebcd
commit
bd94ea2f5a
4 changed files with 26 additions and 30 deletions
|
@ -222,15 +222,8 @@ enum class Attribute : u64 {
|
|||
FrontFace = 255,
|
||||
};
|
||||
|
||||
constexpr size_t NUM_FIXEDFNCTEXTURE = 10;
|
||||
constexpr size_t NUM_GENERICS = 32;
|
||||
|
||||
[[nodiscard]] bool IsFixedFncTexture(Attribute attribute);
|
||||
|
||||
[[nodiscard]] u32 FixedFncTextureAttributeIndex(Attribute attribute);
|
||||
|
||||
[[nodiscard]] u32 FixedFncTextureAttributeElement(Attribute attribute);
|
||||
|
||||
[[nodiscard]] bool IsGeneric(Attribute attribute) noexcept;
|
||||
|
||||
[[nodiscard]] u32 GenericAttributeIndex(Attribute attribute);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue