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

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

Game: The Sims™ 2 (ULUS10031_1.00)

Error in shader compilation: info: Fragment shader compilation failed.
ERROR: 0:22: '>>' :  wrong operand types  no operation '>>' exists that takes a left-hand operand of type 'uniform uint' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:22: '>>' :  wrong operand types  no operation '>>' exists that takes a left-hand operand of type 'uniform uint' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 2 compilation errors.  No code generated.


00180000:0080d022 Tex TexAlpha 2x TFuncMod AlphaTest > 
#version 300 es
// Driver: Adreno (TM) 320 - GLSL 300
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 00180000:0080d022 Tex TexAlpha 2x TFuncMod AlphaTest > 
uniform sampler2D tex;
uniform uint u_alphacolorref;
uniform uint u_alphacolormask;
 in lowp vec4 v_color0;
in mediump float v_fogdepth;
in mediump vec3 v_texcoord;
int roundAndScaleTo255i(in float x) { return int(floor(x * 255.0 + 0.5)); }
out vec4 fragColor0;
void main() {
  vec4 t = texture(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = p * t;
  v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
  if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 24))  <=  int(u_alphacolorref >> 24)) DISCARD;
  fragColor0 = v;
}

Status: new. 4 hits from 2024-10-20 16:36:22 to 2024-10-20 16:44:57 UTC. Message #2557649.

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.