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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user