Message #2058504 - 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: GTA: Liberty City Stories (ULUS10041_3.00)

Error in shader program link: info: The  shader uses varying v_color1, but previous shader does not write to it.
Type mismatch: Type of v_color0 different between shaders.
Out of resource error.

fs: 00004000:0000d002 Tex Flat TFuncMod AlphaTest > 
#version 300 es
// Adreno (TM) 540 - GLSL 300
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
uniform sampler2D testtex;
flat in lowp vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
  vec4 t = texture(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = vec4(t.rgb * p.rgb, p.a);
  float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
  if (aResult < 0.5) DISCARD;
  fragColor0 = v;
}

vs: 40000000:0000001a THR C Tex Flat 
#version 300 es
// Adreno (TM) 540 - GLSL 300
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec4 position;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj_through;
flat out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
  v_texcoord = vec3(texcoord, 1.0);
  v_color0 = color0;
  vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0));
  gl_Position = outPos;
}

Status: new. 1 hits from 2022-03-16 01:05:59 to 2022-03-16 01:05:59 UTC. Message #2058504.

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.