HLSL: Fix #1106. Support shader setting of binding/set for $Global.
This commit is contained in:
parent
fe4e572c53
commit
1b46f137f7
9 changed files with 140 additions and 2 deletions
|
|
@ -58,6 +58,8 @@ namespace glslang {
|
|||
return EatLocation;
|
||||
else if (lowername == "binding")
|
||||
return EatBinding;
|
||||
else if (lowername == "global_cbuffer_binding")
|
||||
return EatGlobalBinding;
|
||||
} else if (lowernameSpace.size() > 0)
|
||||
return EatNone;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue