Message #2214921 - Error in shader compilation: info: %s / code: %s

Kind #39: Error in shader compilation: info: %s / code: %s

Game: Pirates of the Caribbean: At World's End (ULUS10252_1.01)

Error in shader compilation: info: Compile failed.
ERROR: 0:17: 'gl_FragDepth' : undeclared identifier
1 compilation errors. No code generated.

 / code: #version 100
#extension GL_EXT_shader_framebuffer_fetch : require
precision lowp float;
uniform sampler2D tex;
uniform sampler2D testtex;
 varying vec4 v_color0;
varying highp vec3 v_texcoord;
void main() {
  vec4 t = texture2D(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = p * t;
  if (v.a < 0.002) discard;
  v.rgb = v.rgb * 2.0;
  gl_FragColor = v;
  highp float z = gl_FragCoord.z;
  z = (1.0/65535.0) * floor(z * 65535.0);
  gl_FragDepth = z;
}

Status: new. 1 hits from 2022-11-23 15:37:51 to 2022-11-23 15:37:51 UTC. Message #2214921.

Individual reports are stored since 2026-11-12, the newest 100 per message; none for this message yet. Older hits only exist as the counters above. Hover a cell for details.