Kind #970: Error in shader compilation: info: %s
%s
%s
Game: God of War: Chains of Olympus (NPUG80325_1.00)
Error in shader compilation: info: ERROR: 0:10: 'depth_unchanged' : not a legal layout qualifier id
ERROR: 0:10: 'gl_FragDepth' : reserved built-in name
ERROR: 2 compilation errors. No code generated.
stencil_fs
#version 320 es
// Driver: Adreno (TM) 506 - GLSL 320
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
precision highp float;
uniform sampler2D tex;
layout (depth_unchanged) out float gl_FragDepth;
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;
gl_FragDepth = gl_FragCoord.z;
fragColor0 = outColor;
}
Status: new. 1 hits from 2022-09-13 23:30:42 to 2022-09-13 23:30:42 UTC. Message #2168942.
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.