Message #2383291 - Error in shader compilation: info: %s %s %s

Kind #970: Error in shader compilation: info: %s %s %s

Game: Dragon Ball Z: Tenkaichi Tag Team (ULUS10537_1.00)

Error in shader compilation: info: Compile failed.
ERROR: 0:36: 'assign' : l-value required (can't modify a vertex in/attribute)
ERROR: 0:37: 'assign' : l-value required (can't modify a vertex in/attribute)
2 compilation errors. No code generated.


00000000:00000038 C Tex Cull 
#version 320 es
// PowerVR Rogue GE8300 - GLSL 320
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;
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;
in float h_depth;
in vec3 h_normal;
void main() {
  v_texcoord = vec3(texcoord, 1.0);
  v_color0 = color0;
  vec4 outPos = mul(u_proj, vec4(position.xyz, 1.0));
v_color0.rgb = vec3(0.0);
  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;
  h_depth = outPos.z/outPos.w;
  h_normal = vec3(-1.0);
}

Status: new. 2 hits from 2023-09-06 19:43:11 to 2023-09-06 19:46:46 UTC. Message #2383291.

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.