Message #1718654 - 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: METAL SLUG Anthology (ULUS10154_1.03)

Error in shader program link: info: ERROR: duplicate definition of function 'main'

fs: 00010000:0000d022 Tex TexAlpha 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 = p * t;
  float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
  if (aResult < 0.5) v.a = 0.0;
  gl_FragColor = v;
}

vs: 00000000:00000012 THR Tex 
#version 100
precision highp float;
attribute vec4 position;
attribute vec2 texcoord;
attribute lowp vec4 color0;
uniform mat4 u_proj_through;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
void main() {
  v_texcoord = vec3(texcoord, 1.0);
  v_color0 = color0;
  vec4 outPos = u_proj_through * vec4(position.xyz, 1.0);
  gl_Position = outPos;
}

Status: new. 1 hits from 2020-12-10 00:39:21 to 2020-12-10 00:39:21 UTC. Message #1718654.

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.