oizma / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Reject shaders with implicit type conversions #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
OpenGL ES shading language does not support implicit conversions between types. 
Shaders containg any of the following should fail:

float f = int(1);
bool b = int(1);
int i = float(1.0f);
bool b = float(1.0f);
int i = bool(1);
float f = bool(1);

Original issue reported on code.google.com by al...@google.com on 16 Jun 2010 at 6:45

GoogleCodeExporter commented 9 years ago

Original comment by alokp@chromium.org on 16 Jun 2010 at 6:47

GoogleCodeExporter commented 9 years ago

Original comment by alokp@chromium.org on 16 Jun 2010 at 6:47

GoogleCodeExporter commented 9 years ago
Verified that ANGLE already rejects shaders with implicit type conversions. 
Submitted conformance tests to WebGL.

Original comment by alokp@chromium.org on 15 Jul 2010 at 4:37