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

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

Game: MotoGP (UCES00373_1.00)

Error in shader compilation: info: ERROR: 0:31: 'packUnorm4x8' :  can't redefine/overload built-in functions!
ERROR: 0:32: 'packUnorm4x8' :  can't redefine/overload built-in functions!
ERROR: 0:34: 'unpackUnorm4x8' :  can't redefine/overload built-in functions!
ERROR: 3 compilation errors.  No code generated.


001c1a86:00000000 WriteMask ReplaceBlend_6A:10_B:6_Eq:0 
#version 300 es
// Driver: Adreno (TM) 308 - GLSL 300
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 001c1a86:00000000 WriteMask ReplaceBlend_6A:10_B:6_Eq:0 
precision highp int;
uniform sampler2D fbotex;
uniform vec3 u_blendFixA;
uniform uint u_colorWriteMask;
 in lowp vec4 v_color0;
in mediump float v_fogdepth;
out vec4 fragColor0;
uint packUnorm4x8(vec4 v) {
  highp vec4 f = clamp(v, 0.0, 1.0);
  uvec4 u = uvec4(255.0 * f);
  return u.x | (u.y << 8) | (u.z << 16) | (u.w << 24);
}
vec4 unpackUnorm4x8(highp uint x) {
  highp uvec4 u = uvec4(x & 0xFFU, (x >> 8) & 0xFFU, (x >> 16) & 0xFFU, (x >> 24) & 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 ;
  v.rgb = v.rgb * u_blendFixA + destColor.rgb * v.aaa * 2.0;
  fragColor0 = v;
  highp uint v32 = packUnorm4x8(fragColor0);
  highp uint d32 = packUnorm4x8(destColor);
  v32 = (v32 & u_colorWriteMask & 0x00FFFFFFu) | (d32 & (~u_colorWriteMask | 0xFF000000u));
  fragColor0 = unpackUnorm4x8(v32);
}

Status: new. 3 hits from 2023-08-21 10:52:39 to 2023-08-21 10:56:48 UTC. Message #2376247.

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.