Quote Originally Posted by Heiko
Quote Originally Posted by dpoon
Noticed the following whilst reading the GLSL 1.50 specs with changes (GLSLangSpec.1.50.09.withchanges.pfd).

On page 45:
The fragment language has the following predeclared globally scoped default precision statements:
precision mediump int;
precision highp float;

The float precision predeclaration is new in GLSL 1.50 and is not marked in magenta.
Are you sure? I already used that in GLSL 1.30.
All I meant in my original post was that in the GLSL 1.50 spec they've added the precision preclaration for the float type to the global scope of the fragment language. In previous versions of the GLSL spec only the int type was predeclared in the global scope of the fragment language. So in the GLSL 1.50 spec the precision predeclaration for the float type should have been highlighted in magenta.

GLSLangSpec.Full.1.30.08.withchanges.pdf (page 36):
The fragment language has the following predeclared globally scoped default precision statement:
precision mediump int;
GLSLangSpec.Full.1.40.05.pdf (page 37):
The fragment language has the following predeclared globally scoped default precision statement:
precision mediump int;
GLSLangSpec.1.50.09.withchanges.pdf (page 45):
The fragment language has the following predeclared globally scoped default precision statements:
precision mediump int;
precision highp float;