Shader: Add attribute parsing

This commit is contained in:
Jérôme Leclercq
2021-03-11 23:20:06 +01:00
parent 8135f22b2f
commit da81a5b871
4 changed files with 110 additions and 13 deletions

View File

@@ -16,6 +16,12 @@ namespace Nz::ShaderAst
Simple //< =
};
enum class AttributeType
{
Entry, //< Entry point (function only) - has argument type
Layout //< Struct layout (struct only) - has argument style
};
enum class BasicType
{
Boolean, //< bool