Message #2680593 - 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: Dragon Ball Z: Tenkaichi Tag Team (ULUS10537_1.00)

Error in shader program link: info: 
fs: 10195d83:0060d002 Tex TexProj Fog Flat FragUber ReplaceBlend_3A:6_B:7_Eq:0 TFuncMod AlphaTest > TestDiscardToZero 
#version 320 es
#extension GL_EXT_shader_framebuffer_fetch : require
// Driver: Adreno (TM) 650 - GLSL 320
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 10195d83:0060d002 Tex TexProj Fog Flat FragUber ReplaceBlend_3A:6_B:7_Eq:0 TFuncMod AlphaTest > TestDiscardToZero 
uniform sampler2D tex;
uniform vec2 u_texNoAlphaMul;
uniform uint u_alphacolorref;
uniform uint u_alphacolormask;
flat in lowp vec4 v_color0;
uniform vec3 u_fogcolor;
in mediump float v_fogdepth;
in mediump vec3 v_texcoord;
int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); }
out vec4 fragColor0;
void main() {
  vec4 t = textureProj(tex, v_texcoord);
  vec4 p = v_color0;
  t.a = max(t.a, u_texNoAlphaMul.x);
  vec4 v = p * t;
  v.rgb = clamp(v.rgb * u_texNoAlphaMul.y, 0.0, 1.0);
  float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
  v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
  if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u))  <=  int(u_alphacolorref >> 0x18u)) v.a = 0.0;
  v.rgb = v.rgb * splat3(v.a * 2.0);
  v.a *= 2.0;
  fragColor0 = v;
}

vs: 40000000:00010020 TexProjPos UVMtx Flat Cull 
#version 320 es
// Driver: Adreno (TM) 650 - GLSL 320
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 40000000:00010020 TexProjPos UVMtx Flat Cull 
in vec4 position;
in highp float fog;
in vec3 texcoord;
in lowp vec4 color0;
uniform lowp float u_rotation;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
flat out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
out mediump float v_fogdepth;
void main() {
  v_texcoord = texcoord;
  v_color0 = color0;
  v_fogdepth = fog;
  vec4 pos = position;
  vec4 outPos = pos;
  vec3 projPos = outPos.xyz / outPos.w;
  float projZ = (projPos.z - u_depthRange.z) * u_depthRange.w;
  if (u_cullRangeMin.w <= 0.0 || projZ * outPos.w > -outPos.w) {
    if ((projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y) || (projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y)) {
      outPos.xyzw = u_cullRangeMax.wwww;
    }
  }
  if (u_cullRangeMin.w <= 0.0) {
    if (projPos.z < u_cullRangeMin.z || projPos.z > u_cullRangeMax.z) {
      outPos.xyzw = u_cullRangeMax.wwww;
    }
  }
  gl_Position = outPos;
}

Status: new. 1 hits from 2025-05-16 11:53:22 to 2025-05-16 11:53:22 UTC. Message #2680593.

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.