Allow future keywords to be accessed as members in a struct.
This fixes a bug where a token that could be a keyword in one version is not a keyword in another version, but treated like a non-member after a "." dereference.
This commit is contained in:
parent
6373574b13
commit
eb505e4262
7 changed files with 41 additions and 12 deletions
|
|
@ -34,7 +34,8 @@ ERROR: 0:183: 'textureQueryLod' : no matching overloaded function found
|
|||
ERROR: 0:183: 'assign' : cannot convert from 'const float' to 'temp 2-component vector of float'
|
||||
ERROR: 0:184: 'textureQueryLod' : no matching overloaded function found
|
||||
ERROR: 0:184: 'assign' : cannot convert from 'const float' to 'temp 2-component vector of float'
|
||||
ERROR: 34 compilation errors. No code generated.
|
||||
ERROR: 0:187: '' : syntax error
|
||||
ERROR: 35 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 400
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue