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

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

Game: Prince of Persia - Rival Swords (ULES00579_1.06)

Error in shader compilation: info: ERROR: 0:14: 'assign' : Implicit conversions for shift operators are not allowed before GLSL 1.20 or without GL_EXT_gpu_shader4 enabled. 
ERROR: 0:14: 'assign' : Implicit conversions for shift operators are not allowed before GLSL 1.20 or without GL_EXT_gpu_shader4 enabled. 
ERROR: 0:14: '>>' :  wrong operand types  no operation '>>' exists that takes a left-hand operand of type 'uint' and a right operand of type 'const int' (or there is no acceptable conversion)


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));
}

Status: new. 2 hits from 2025-06-09 04:13:10 to 2025-06-10 04:02:27 UTC. Message #2695443.

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.