Kind #967: Error in shader program link: info: %s
fs: %s
%s
vs: %s
%s
Game: Prince of Persia - Rival Swords (ULES00579_1.06)
Error in shader program link: info: Attached fragment shader is not compiled.
fs: depal
#version 300 es
precision mediump float;
in vec2 v_texcoord0;
out vec4 fragColor0;
uniform sampler2D tex;
uniform sampler2D pal;
void main() {
vec4 color = texture(tex, v_texcoord0);
int r = 0;
int g = int(color.g * 255.99);
int b = 0;
int a = 0;
int index = (a << 24) | (b << 16) | (g << 8) | (r);
index = (int(uint(index) >> 8) & 0xff);
fragColor0 = texture(pal, vec2((float(index) + 0.5) * (1.0 / 256.000000), 0.0));
}
vs: depal
#version 300 es
precision highp float;
in vec4 a_position;
in vec2 a_texcoord0;
out vec2 v_texcoord0;
void main() {
v_texcoord0 = a_texcoord0;
gl_Position = a_position;
}
Status: new. 2 hits from 2025-06-09 04:13:09 to 2025-06-10 04:02:27 UTC. Message #2695441.
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.