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

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

Game: God of War®: Ghost of Sparta (UCES01401_1.00)

Error in shader compilation: info: Compile failed.

stencil_fs
#version 130
// Driver: Intel(R) Graphics Media Accelerator 3600 Series - GLSL 130
#define DISCARD discard
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
float roundAndScaleTo255f(in float x) { return floor(x * 255.99); }
in highp vec2 v_texcoord;  // TEXCOORD0
uniform float stencilValue;
out vec4 fragColor0;

void main() {
  vec4 index = texture(tex, v_texcoord.xy);
  vec4 outColor = index.aaaa;
  float shifted = roundAndScaleTo255f(index.a) / roundAndScaleTo255f(stencilValue);
  if (mod(floor(shifted), 2.0) < 0.99) DISCARD;
  fragColor0 = outColor;
}

Status: new. 1 hits from 2023-11-30 23:32:24 to 2023-11-30 23:32:24 UTC. Message #2420126.

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.