HLSL: Attributes: Add [[vk::constant_id()]] and [[vk::push_constant]]
This commit is contained in:
parent
e08ed0ccf4
commit
046bae0bab
8 changed files with 127 additions and 80 deletions
|
|
@ -62,6 +62,10 @@ namespace glslang {
|
|||
return EatGlobalBinding;
|
||||
else if (lowername == "builtin")
|
||||
return EatBuiltIn;
|
||||
else if (lowername == "constant_id")
|
||||
return EatConstantId;
|
||||
else if (lowername == "push_constant")
|
||||
return EatPushConstant;
|
||||
} else if (lowernameSpace.size() > 0)
|
||||
return EatNone;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue