GLS language errors

Maurice info at cuhka.com
Tue Mar 1 19:10:45 UTC 2016


Moving the declaration into the main() method reduces the amount of 
errors found by the glslangValidator drastically, though it still finds 
several issues:

./modules/graphics/src/main/resources/com/sun/prism/es2/glsl/normalMap_texture.frag
ERROR: 0:53: 'oTexCoords' : undeclared identifier
ERROR: 0:53: 'texture2D' : no matching overloaded function found
ERROR: 0:53: '=' :  cannot convert from 'const float' to 'temp highp 
4-component vector of float'
ERROR: 3 compilation errors.  No code generated.


./modules/graphics/src/main/resources/com/sun/prism/es2/glsl/specular_texture.frag
ERROR: 0:55: 'oTexCoords' : undeclared identifier
ERROR: 0:55: 'texture2D' : no matching overloaded function found
ERROR: 0:55: 'scalar swizzle' : not supported with this profile: es
ERROR: 0:55: 'rgb' : vector field selection out of range
ERROR: 0:55: '=' :  cannot convert from 'const float' to 'temp highp 
3-component vector of float'
ERROR: 5 compilation errors.  No code generated.


./modules/graphics/src/main/resources/com/sun/prism/es2/glsl/selfIllum_texture.frag
ERROR: 0:53: 'oTexCoords' : undeclared identifier
ERROR: 0:53: 'texture2D' : no matching overloaded function found
WARNING: 0:53: 'return' : type conversion on return values was not 
explicitly allowed until version 420
ERROR: 2 compilation errors.  No code generated.


./modules/graphics/src/main/resources/com/sun/prism/es2/glsl/specular_mix.frag
ERROR: 0:55: 'oTexCoords' : undeclared identifier
ERROR: 0:55: 'texture2D' : no matching overloaded function found
ERROR: 0:55: 'scalar swizzle' : not supported with this profile: es
ERROR: 0:55: 'rgb' : vector field selection out of range
ERROR: 0:55: '=' :  cannot convert from 'const float' to 'temp highp 
3-component vector of float'
ERROR: 5 compilation errors.  No code generated.

./modules/graphics/build/resources/main/com/sun/prism/es2/glsl/normalMap_texture.frag
ERROR: 0:53: 'oTexCoords' : undeclared identifier
ERROR: 0:53: 'texture2D' : no matching overloaded function found
ERROR: 0:53: '=' :  cannot convert from 'const float' to 'temp highp 
4-component vector of float'
ERROR: 3 compilation errors.  No code generated.


./modules/graphics/build/resources/main/com/sun/prism/es2/glsl/specular_texture.frag
ERROR: 0:55: 'oTexCoords' : undeclared identifier
ERROR: 0:55: 'texture2D' : no matching overloaded function found
ERROR: 0:55: 'scalar swizzle' : not supported with this profile: es
ERROR: 0:55: 'rgb' : vector field selection out of range
ERROR: 0:55: '=' :  cannot convert from 'const float' to 'temp highp 
3-component vector of float'
ERROR: 5 compilation errors.  No code generated.


./modules/graphics/build/resources/main/com/sun/prism/es2/glsl/selfIllum_texture.frag
ERROR: 0:53: 'oTexCoords' : undeclared identifier
ERROR: 0:53: 'texture2D' : no matching overloaded function found
WARNING: 0:53: 'return' : type conversion on return values was not 
explicitly allowed until version 420
ERROR: 2 compilation errors.  No code generated.


./modules/graphics/build/resources/main/com/sun/prism/es2/glsl/specular_mix.frag
ERROR: 0:55: 'oTexCoords' : undeclared identifier
ERROR: 0:55: 'texture2D' : no matching overloaded function found
ERROR: 0:55: 'scalar swizzle' : not supported with this profile: es
ERROR: 0:55: 'rgb' : vector field selection out of range
ERROR: 0:55: '=' :  cannot convert from 'const float' to 'temp highp 
3-component vector of float'
ERROR: 5 compilation errors.  No code generated.



More information about the openjfx-dev mailing list