Kind #970: Error in shader compilation: info: %s
%s
%s
Game: Ratchet (UCUS98633_1.01)
Error in shader compilation: info: Compile failed.
ERROR: 0:21: 'gl_FragDepth' : undeclared identifer
ERROR: 1 compilation errors. No code generated.
00100000:00000382 Tex TClampST TFuncMod ColorToDepth
#version 100
#extension GL_EXT_shader_framebuffer_fetch : require
// PowerVR SGX 544MP - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
precision highp int;
uniform sampler2D tex;
uniform vec4 u_texclamp;
varying lowp vec4 v_color0;
varying highp vec3 v_texcoord;
float mymod(float a, float b) { return a - b * floor(a / b); }
void main() {
vec2 fixedcoord = vec2(clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z), clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w));
vec4 t = texture2D(tex, fixedcoord.xy);
vec4 p = v_color0;
vec4 v = vec4(t.rgb * p.rgb, p.a);
gl_FragColor = v;
highp float depthValue = (floor(v.x * 31.99) + floor(v.y * 63.99) * 32.0 + floor(v.z * 31.99) * 2048.0) / 65535.0;
gl_FragDepth = (depthValue / 1.000000) + 0.000000;
}
Status: new. 1 hits from 2022-09-05 20:56:13 to 2022-09-05 20:56:13 UTC. Message #2164095.
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.