Kind #355: Error in shader program link: info: %s / fs: %s / vs: %s
Game: NBA2K13 (ULES01578_1.01)
Error in shader program link: info: The shader uses varying v_color1, but previous shader does not write to it.
Out of resource error.
/ fs: #version 330
#define lowp
#define mediump
#define highp
in vec4 v_color0;
in vec3 v_color1;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 v = v_color0 + s;
fragColor0 = v;
}
/ vs: #version 330
#define lowp
#define mediump
#define highp
in vec4 position;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform highp vec4 u_depthRange;
out lowp vec4 v_color0;
vec4 depthRoundZVP(vec4 v) {
float z = v.z / v.w;
z = z * u_depthRange.x + u_depthRange.y;
z = floor(z);
z = (z - u_depthRange.z) * u_depthRange.w;
return vec4(v.x, v.y, z * v.w, v.w);
}
void main() {
v_color0 = color0;
gl_Position = depthRoundZVP(u_proj * vec4(position.xyz, 1.0));
}
Status: new. 2 hits from 2023-09-19 13:47:36 to 2023-09-19 13:47:36 UTC. Message #2389540.
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.