Home › Forums › PowerVR Insider Graphics › gl_FragDepth not available on GLES 3.0 Windows Emulator
Tagged: opengl es 3.0 emulator windows
This topic contains 1 reply, has 2 voices, and was last updated by Shaun 5 days, 20 hours ago.
As far as the specification say, gl_FragDepth should be supported on 3.0:
But I got this error:
(Error) The shader failed OpenGL ES shader validation. Call glGetShaderInfoLog to retrieve the shader info log.
Failed to compile pixel shader: Compile failed.
ERROR: 0:153: 'gl_FragDepth' : undeclared identifier
ERROR: 1 compilation errors. No code generated.
Could be a plan to support it or am I doing something wrong?
gl_FragDepth is supported in GLSL 300 es and up, could you post (or attach) the fragment shader that is failing.