Shader: Replace const for with [unroll] attribute
This commit is contained in:
@@ -36,6 +36,7 @@ namespace Nz
|
||||
Layout, //< Struct layout (struct only) - has argument style
|
||||
Location, //< Location (struct member only) - has argument index
|
||||
Set, //< Binding set (external var only) - has argument index
|
||||
Unroll, //< Unroll (for/for each only) - has argument mode
|
||||
};
|
||||
|
||||
enum class BinaryType
|
||||
@@ -106,6 +107,13 @@ namespace Nz
|
||||
SampleTexture = 2,
|
||||
};
|
||||
|
||||
enum class LoopUnroll
|
||||
{
|
||||
Always,
|
||||
Hint,
|
||||
Never
|
||||
};
|
||||
|
||||
enum class MemoryLayout
|
||||
{
|
||||
Std140
|
||||
|
||||
Reference in New Issue
Block a user