Make double underscore "__" an error for ES 300, but a warning for 310.
The 310 spec (and desktop specs) have clarified this is a waring, not an error, but 300 tests still expect an error.
This commit is contained in:
parent
63cebdb4c2
commit
1189a7bc4a
5 changed files with 35 additions and 7 deletions
|
|
@ -1,7 +1,9 @@
|
|||
300BuiltIns.frag
|
||||
ERROR: 0:6: 'float' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:70: 'noise2' : no matching overloaded function found
|
||||
ERROR: 2 compilation errors. No code generated.
|
||||
ERROR: 0:72: 't__' : identifiers containing consecutive underscores ("__") are reserved, and an error if version <= 300
|
||||
ERROR: 0:75: '#define' : names containing consecutive underscores are reserved, and an error if version <= 300: __D
|
||||
ERROR: 4 compilation errors. No code generated.
|
||||
|
||||
|
||||
Shader version: 300
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue