oizma / angleproject

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

GLSL backend must emit "#version 120" #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In order to legally access the gl_PointCoord built-in variable in fragment 
shaders, ANGLE must emit the version string "#version 120" in its GLSL backend. 
It may be safer to emit this string conditionally, only if gl_PointCoord is 
actually referenced in the fragment shader.

Original issue reported on code.google.com by kbr@chromium.org on 16 Sep 2010 at 5:33

GoogleCodeExporter commented 9 years ago
Fixed in r448.

Original comment by alokp@chromium.org on 13 Oct 2010 at 7:30