HLSL: Add ConstantBuffer<T> syntax
Note: multi-dimension arrays of ConstantBuffer objects will go through uniform flattening.
This commit is contained in:
parent
a1cdd13b1c
commit
a766b838f5
8 changed files with 319 additions and 1 deletions
|
|
@ -275,6 +275,7 @@ enum EHlslTokenClass {
|
|||
EHTokTypedef,
|
||||
EHTokThis,
|
||||
EHTokNamespace,
|
||||
EHTokConstantBuffer,
|
||||
|
||||
// constant
|
||||
EHTokFloatConstant,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue