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

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

Game: CODED ARMS (ULES00124_1.00)

Error in shader compilation: info: Fragment shader compilation failed.
ERROR: 0:24: '>>' :  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:24: '>>' :  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:0520d022 Tex TexAlpha Fog StenToAlpha Sten0 TFuncMod AlphaTest > 
#version 300 es
// Driver: Adreno (TM) 305 - GLSL 300
#define DISCARD discard
precision lowp float;
precision highp int;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
// 00180000:0520d022 Tex TexAlpha Fog StenToAlpha Sten0 TFuncMod AlphaTest > 
uniform sampler2D tex;
uniform uint u_alphacolorref;
uniform uint u_alphacolormask;
 in lowp vec4 v_color0;
uniform vec3 u_fogcolor;
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;
  float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
  v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
  if ((roundAndScaleTo255i(v.a) & int(u_alphacolormask >> 24))  <=  int(u_alphacolorref >> 24)) DISCARD;
  fragColor0 = vec4(v.rgb, 0.0);
}

Status: new. 1 hits from 2023-10-31 11:52:23 to 2023-10-31 11:52:23 UTC. Message #2407987.

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.