Message #2103518 - Error in shader compilation: info: %s %s %s

Kind #970: Error in shader compilation: info: %s %s %s

Game: NEED FOR SPEED™ Carbon OTC (ULES00577_1.00)

Error in shader compilation: info: Compile failed.
ERROR: Fragment shader has multiple outputs but missing layout for some outputs
1 compilation errors. No code generated.


0a0a5d30:3223202c TexAlpha Fog Flat StenToAlphaDual StenUnknown AlphaTest0 ALWAYS ColorTest NEVER 
#version 320 es
#extension GL_EXT_shader_framebuffer_fetch : require
// PowerVR Rogue GE8320 - GLSL 320
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D testtex;
flat in lowp vec4 v_color0;
uniform vec3 u_fogcolor;
in highp float v_fogdepth;
out vec4 fragColor0;
out vec4 fragColor1;
void main() {
  vec4 v = v_color0 ;
  float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
  v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
  vec4 vScale256 = v * 0.996094 + 0.001953;
  float rResult = texture(testtex, vec2(vScale256.r, 0)).r;
  float gResult = texture(testtex, vec2(vScale256.g, 0)).g;
  float bResult = texture(testtex, vec2(vScale256.b, 0)).b;
  if (rResult < 0.5 && gResult < 0.5 && bResult < 0.5) DISCARD;
  fragColor0 = vec4(v.rgb, 0.0);
  fragColor1 = vec4(0.0, 0.0, 0.0, v.a);
  gl_FragDepth = gl_FragCoord.z;
}

Status: new. 1 hits from 2022-05-28 17:56:19 to 2022-05-28 17:56:19 UTC. Message #2103518.

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.