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
|
|
@ -3,7 +3,7 @@
|
|||
int imax, imin;
|
||||
uint umax, umin;
|
||||
|
||||
vec3 x, y;
|
||||
vec3 x, y; // ERROR, needs default precision
|
||||
bvec3 bv;
|
||||
|
||||
uint uy;
|
||||
|
|
@ -67,5 +67,10 @@ void main()
|
|||
vec2 v18 = unpackHalf2x16(uy);
|
||||
|
||||
// not present
|
||||
noise2(v18);
|
||||
noise2(v18); // ERROR, not present
|
||||
|
||||
float t__; // ERROR, no __ until revision 310
|
||||
|
||||
// ERROR, no __ until revision 310
|
||||
#define __D
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue