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

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

Game: BURNOUT DOMINATOR (ULUS10236_1.00)

Error in shader compilation: info: Fragment shader compilation failed.
Internal compiler error: unexpected operator

019c0000:00000082 Tex CLUT8From8888DepalWriteMask TClamp TFuncMod 
#version 300 es
// Driver: Adreno (TM) 320 - GLSL 300
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 019c0000:00000082 Tex CLUT8From8888DepalWriteMask TClamp TFuncMod 
precision highp int;
uniform sampler2D tex;
uniform float u_texNoAlpha;
uniform float u_texMul;
uniform sampler2D fbotex;
uniform vec4 u_texclamp;
uniform vec2 u_texclampoff;
uniform sampler2D pal;
uniform uint u_depal_mask_shift_off_fmt;
uniform uint u_colorWriteMask;
 in lowp vec4 v_color0;
in mediump float v_fogdepth;
in mediump vec3 v_texcoord;
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);
  vec2 fixedcoord = vec2((mod(v_texcoord.x, u_texclamp.x) + u_texclampoff.x), (mod(v_texcoord.y, u_texclamp.y) + u_texclampoff.y));
  vec2 uv = fixedcoord.xy;
  vec2 uv_round;
  vec2 tsize = vec2(textureSize(tex, 0).xy);
  uv_round = floor(uv * tsize);
  int component = int(uv_round.x) & 3;
  uv_round.x *= 0.25;
  uv_round /= tsize;
  vec4 t = texture(tex, uv_round);
  int index;
  switch (component) {
  case 0: index = int(t.x * 254.99); break;
  case 1: index = int(t.y * 254.99); break;
  case 2: index = int(t.z * 254.99); break;
  case 3: index = int(t.w * 254.99); break;
  }
  t = texelFetch(pal, ivec2(index, 0), 0);
  vec4 p = v_color0;
  t.a = max(t.a, u_texNoAlpha);
  vec4 v = p * t;
  v.rgb = clamp(v.rgb * u_texMul, 0.0, 1.0);
  fragColor0 = v;
  highp uint v32 = packUnorm4x8R(fragColor0);
  highp uint d32 = packUnorm4x8R(destColor);
  v32 = (v32 & u_colorWriteMask & 0x00FFFFFFu) | (d32 & (~u_colorWriteMask | 0xFF000000u));
  fragColor0 = unpackUnorm4x8R(v32);
}

Status: new. 1 hits from 2023-07-01 09:11:21 to 2023-07-01 09:11:21 UTC. Message #2353633.

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.