Message #2763879 - 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: Vertex info
-----------
error: unknown builtin varying parameter (named gl_ClipDistance[0]) encountered
error: unknown builtin varying parameter (named gl_ClipDistance[1]) encountered
error: unknown builtin varying parameter (named gl_ClipDistance[2]) encountered
error: unknown builtin varying parameter (named gl_ClipDistance[3]) encountered
error: unknown builtin varying parameter (named gl_ClipDistance[4]) encountered
error: unknown builtin varying parameter (named gl_ClipDistance[5]) encountered

fs: 001c0000:00000400 TexAlpha WriteMask 
#version 140
#extension GL_EXT_gpu_shader4 : enable
// Driver: GeForce 310M/PCI/SSE2 - GLSL 140
#define DISCARD discard
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 001c0000:00000400 TexAlpha WriteMask 
uniform sampler2D fbotex;
uniform uint u_colorWriteMask;
 in lowp vec4 v_color0;
in mediump float v_fogdepth;
out vec4 fragColor0;
uint packUnorm4x8R(vec4 v) {
  highp vec4 f = clamp(v, 0.0, 1.0);
  uvec4 u = uvec4(255.0 * f);
  return u.x | (u.y << 0x8u) | (u.z << 0x10u) | (u.w << 0x18u);
}
vec4 unpackUnorm4x8R(highp uint x) {
  highp uvec4 u = uvec4(x & 0xFFu, (x >> 0x8u) & 0xFFu, (x >> 0x10u) & 0xFFu, (x >> 0x18u) & 0xFFu);
  highp vec4 f = vec4(u);
  return f * (1.0 / 255.0);
}
void main() {
  lowp vec4 destColor = texelFetch(fbotex, ivec2(gl_FragCoord.x, gl_FragCoord.y), 0);
  vec4 v = v_color0;
  fragColor0 = v;
  highp uint v32 = packUnorm4x8R(fragColor0);
  highp uint d32 = packUnorm4x8R(destColor);
  v32 = (v32 & u_colorWriteMask & 0x00FFFFFFu) | (d32 & (~u_colorWriteMask | 0xFF000000u));
  fragColor0 = unpackUnorm4x8R(v32);
}

vs: 00000000:00000920 HWX T Cull 
#version 140
#extension GL_EXT_gpu_shader4 : enable
// Driver: GeForce 310M/PCI/SSE2 - GLSL 140
#define gl_VertexIndex gl_VertexID
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 00000000:00000920 HWX T Cull 
in vec3 position;
in vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform lowp vec4 u_matambientalpha;
uniform highp vec2 u_fogcoef;
uniform highp vec4 u_depthRange;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
out mediump float v_fogdepth;
vec3 normalizeOr001(vec3 v) {
   return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v);
}
void main() {
  vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
  mediump vec3 worldnormal = normalizeOr001(mul(vec4(0.0, 0.0, 1.0, 0.0), u_world).xyz);
  vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
  vec4 outPos = mul(u_proj, viewPos);
  vec4 ambientColor = u_matambientalpha;
  v_color0 = u_matambientalpha;
  v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
  v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
  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_ClipDistance[0] = projZ * outPos.w + outPos.w + 0.000001;
  gl_Position = outPos;
}

Status: new. 1 hits from 2026-05-10 23:35:59 to 2026-05-10 23:35:59 UTC. Message #2763879.

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.