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

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

Game: NARUTO: Ultimate Ninja Heroes 2 (ULUS10349_1.00)

Error in shader compilation: info: 0:10(1): error: syntax error, unexpected NEW_IDENTIFIER, expecting end of file

reinterpret
#version 120
// Driver: Mesa Intel(R) G41 (ELK) - GLSL 120
#define DISCARD discard
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
uint packColor(vec4 val) {
  uint color = uint(val.r * 31.99) | (uint(val.g * 31.99) << 5u) | (uint(val.b * 31.99) << 10u);
  if (val.a >= 0.5) color |= 0x8000U;
  return color;
}
vec4 unpackColor(uint colorLeft, uint colorRight) {
  vec4 outColor = vec4(float(colorLeft & 0xFFu),  float((colorLeft >> 8u)  & 0xFFu),
                       float(colorRight & 0xFFu), float((colorRight >> 8u) & 0xFFu));
  outColor *= 1.0 / 255.0;
  return outColor;
}
varying highp vec2 v_texcoord;  // TEXCOORD0
uniform vec2 texSize;
uniform float scaleFactor;

void main() {
  vec4 valLeft = texture2D(tex, v_texcoord.xy + vec2(-0.25 / texSize.x, 0.0));
  vec4 valRight = texture2D(tex, v_texcoord.xy + vec2(0.25 / texSize.x, 0.0));
  vec4 outColor = unpackColor(packColor(valLeft), packColor(valRight));
  gl_FragColor = outColor;
}

Status: new. 1 hits from 2023-04-18 22:29:22 to 2023-04-18 22:29:22 UTC. Message #2319655.

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.