Message #1697549 - Error in shader program link: info: %s fs: %s %s vs: %s %s

Kind #967: Error in shader program link: info: %s fs: %s %s vs: %s %s

Game: Prince of Persia - Rival Swords (ULES00579_1.06)

Error in shader program link: info: L0007 Fragment shader uses a varying v_fogdepth that has not been declared in the vertex shader.

fs: 00002486:0d600000 TexProj Fog ReplaceBlend_6A:2_B:9_Eq:0 StenToAlpha StenKeep 
#version 300 es
#extension GL_ARM_shader_framebuffer_fetch : require
precision lowp float;
 in vec4 v_color0;
uniform vec3 u_fogcolor;
in mediump float v_fogdepth;
out vec4 fragColor0;
void main() {
  vec4 v = v_color0 ;
  float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
  v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
  lowp vec4 destColor = gl_LastFragColorARM;
  v.rgb = v.rgb * vec3(v.a) + destColor.rgb * vec3(1.0 - destColor.a * 2.0);
  fragColor0 = vec4(v.rgb, 0.0);
}

vs: 00000000:0000000a THR C 
#version 300 es
precision highp float;
in vec4 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
out lowp vec4 v_color0;
void main() {
  v_color0 = color0;
  vec4 outPos = u_proj_through * vec4(position.xyz, 1.0);
  gl_Position = outPos;
}

Status: new. 1 hits from 2020-11-10 22:42:54 to 2020-11-10 22:42:54 UTC. Message #1697549.

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.