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

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

Game: WWE SmackDown vs. RAW 2009 (ULUS10384_1.00)

Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader.
            Please contact [email protected] with the shader causing
            the problem, along with this error message.
            Mali online shader compiler r8p0-00dev0 [Revision 96995].
07f71000:41400b39 HWX C T N LM Tex Bones:6 Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:7 WScale 3 Cull 
#version 100
// Driver: Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 07f71000:41400b39 HWX C T N LM Tex Bones:6 Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:1 t:0 MatUp:7 WScale 3 Cull 
attribute mediump vec4 w1;
attribute mediump vec2 w2;
attribute vec3 position;
attribute mediump vec3 normal;
attribute vec2 texcoord;
attribute lowp vec4 color0;
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 vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform vec3 u_lightpos3;
uniform lowp vec3 u_lightambient3;
uniform lowp vec3 u_lightdiffuse3;
uniform lowp vec3 u_lightspecular3;
uniform lowp vec4 u_ambient;
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;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
varying mediump vec3 v_texcoord;
varying 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);
  vec3 skinnedpos = mul(vec4(position, 1.0), skinMatrix).xyz;
  vec3 worldpos = mul(vec4(skinnedpos, 1.0), u_world).xyz;
  mediump vec3 skinnednormal = mul(vec4(normal, 0.0), skinMatrix).xyz;
  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 = color0;
  vec3 diffuseColor = color0.rgb;
  vec3 specularColor = color0.rgb;
  lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0);
  lowp vec3 lightSum1 = splat3(0.0);
  vec3 toLight;
  lowp vec3 diffuse;
  mediump float ldot;
  toLight = u_lightpos0;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0);
  lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse);
  toLight = u_lightpos1;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0);
  lightSum0.rgb += (u_lightambient1 * ambientColor.rgb + diffuse);
  toLight = u_lightpos2;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse2 * diffuseColor) * max(ldot, 0.0);
  lightSum0.rgb += (u_lightambient2 * ambientColor.rgb + diffuse);
  toLight = u_lightpos3;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse3 * diffuseColor) * max(ldot, 0.0);
  if (ldot >= 0.0) {
    ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
    if (u_matspecular.a <= 0.0) {
      ldot = 1.0;
    } else {
      ldot = pow(max(ldot, 0.0), u_matspecular.a);
    }
    if (ldot > 0.0)
      lightSum1 += u_lightspecular3 * specularColor * ldot ;
  }
  lightSum0.rgb += (u_lightambient3 * ambientColor.rgb + diffuse);
  v_color0 = clamp(lightSum0, 0.0, 1.0);
  v_color1 = clamp(lightSum1, 0.0, 1.0);
  v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
  v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
  vec3 projPos = outPo

Status: new. 1 hits from 2023-04-23 06:11:10 to 2023-04-23 06:11:10 UTC. Message #2321783.

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.