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

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

Game: eFootball Chelito 19 (C19D01598_1.01)

Error in shader compilation: info: Vertex shader compilation failed.
ERROR: 0:137: 'comp' : redefinition 
ERROR: 0:138: 'type' : redefinition 
ERROR: 0:186: 'comp' : redefinition 
ERROR: 0:187: 'type' : redefinition 
ERROR: 0:235: 'comp' : redefinition 
ERROR: 0:236: 'type' : redefinition 
ERROR: 6 compilation errors.  No code generated.


05000000:c1800b30 HWX T N Tex Bones:7 Light: LightUberShader WScale 2 Cull 
#version 300 es
// Driver: Adreno (TM) 305 - GLSL 300
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 05000000:c1800b30 HWX T N Tex Bones:7 Light: LightUberShader WScale 2 Cull 
in mediump vec4 w1;
in mediump vec3 w2;
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform mat4 u_bone0;
uniform mat4 u_bone1;
uniform mat4 u_bone2;
uniform mat4 u_bone3;
uniform mat4 u_bone4;
uniform mat4 u_bone5;
uniform mat4 u_bone6;
uniform vec4 u_uvscaleoffset;
uniform uint u_lightControl;
uniform vec3 u_lightpos0;
uniform mediump vec3 u_lightatt0;
uniform mediump vec3 u_lightdir0;
uniform mediump vec2 u_lightangle_spotCoef0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform lowp vec3 u_lightspecular0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform mediump vec3 u_lightdir1;
uniform mediump vec2 u_lightangle_spotCoef1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform lowp vec3 u_lightspecular1;
uniform vec3 u_lightpos2;
uniform mediump vec3 u_lightatt2;
uniform mediump vec3 u_lightdir2;
uniform mediump vec2 u_lightangle_spotCoef2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform lowp vec3 u_lightspecular2;
uniform vec3 u_lightpos3;
uniform mediump vec3 u_lightatt3;
uniform mediump vec3 u_lightdir3;
uniform mediump vec2 u_lightangle_spotCoef3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
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;
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() {
  mat4 skinMatrix = mul(w1.x, u_bone0) + mul(w1.y, u_bone1) + mul(w1.z, u_bone2) + mul(w1.w, u_bone3) + mul(w2.x, u_bone4) + mul(w2.y, u_bone5) + mul(w2.z, u_bone6);
  vec3 skinnedpos = mul(vec4(position, 1.0), skinMatrix).xyz * 1.999969482421875;
  vec3 worldpos = mul(vec4(skinnedpos, 1.0), u_world).xyz;
  mediump vec3 skinnednormal = mul(vec4(normal, 0.0), skinMatrix).xyz * 1.999969482421875;
  mediump vec3 worldnormal = normalizeOr001(mul(vec4(skinnednormal, 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;
  vec3 diffuseColor = u_matdiffuse.rgb;
  vec3 specularColor = u_matspecular.rgb;
  lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
  lowp vec3 lightSum1 = splat3(0.0);
  vec3 toLight;
  lowp vec3 diffuse;
  float distance;
  lowp float lightScale;
  mediump float ldot;
  lowp float angle;
  if ((u_lightControl & 1u) != 0x0u) { 
    uint comp = (u_lightControl >> 0x04u) & 0x3u;
    uint type = (u_lightControl >> 0x06u) & 0x3u;
    if (type == 0x0u) {
      toLight = u_lightpos0;
    } else {
      toLight = u_lightpos0 - worldpos;
      distance = length(toLight);
      toLight /= distance;
    }
    ldot = dot(toLight, worldnormal);
    if (comp == 0x2u) {
      if (u_matspecular.a <= 0.0) {
        ldot = 1.0;
      } else {
        ldot = pow(max(ldot, 0.0), u_matspecular.a);
      }
    }
    switch (int(type)) {
    case 1:
      lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distan

Status: new. 4 hits from 2024-03-12 06:13:47 to 2024-03-12 09:18:01 UTC. Message #2462982.

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.