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

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

Game: NARUTO: Ultimate Ninja Heroes (ULUS10299_1.00)

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

001c002e:0000d000 WriteMask ReplaceBlend_6A:0_B:0_Eq:5 AlphaTest > 
#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))
// 001c002e:0000d000 WriteMask ReplaceBlend_6A:0_B:0_Eq:5 AlphaTest > 
precision highp int;
uniform sampler2D fbotex;
uniform uint u_alphacolorref;
uniform uint u_alphacolormask;
uniform uint u_colorWriteMask;
 in lowp vec4 v_color0;
in mediump float v_fogdepth;
int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); }
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 ;
  if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 0x18u))  <=  int(u_alphacolorref >> 0x18u)) DISCARD;
  v.rgb = abs(v.rgb - destColor.rgb);
  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 19:32:18 to 2023-07-01 19:32:18 UTC. Message #2353792.

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.