Message #2403259 - 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: Call of Duty : Roads to Victory™ (ULUS10218_1.03)

Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program

fs: 00000000:0080d002 Tex 2x TFuncMod AlphaTest > 
#version 100
precision lowp float;
uniform sampler2D tex;
uniform sampler2D testtex;
 varying vec4 v_color0;
varying mediump vec3 v_texcoord;
void main() {
  vec4 t = texture2D(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = vec4(t.rgb * p.rgb, p.a);
  float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
  if (aResult < 0.5) discard;
  v.rgb = v.rgb * 2.0;
  gl_FragColor = v;
}

vs: 01010000:00050b58 HWX C T N Tex TexProjUV UVMtx Light: MatUp:1 
#version 100
precision highp float;
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform mediump mat4 u_texmtx;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
void main() {
  vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz;
  mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz);
  vec4 viewPos = u_view * vec4(worldpos, 1.0);
  gl_Position = u_proj * viewPos;
  lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
  mediump float ldot;
  v_color0 = clamp(lightSum0, 0.0, 1.0);
  v_texcoord = (u_texmtx * vec4(texcoord.xy, 0.0, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0);
}

Status: new. 1 hits from 2023-10-19 16:31:01 to 2023-10-19 16:31:01 UTC. Message #2403259.

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.