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

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

Game: CARS (ULUS10073_1.02)

Error in shader compilation: info: WARNING: 0:21: 'texture2D' : function is deprecated in current GLSL version 
ERROR: 0:22: 'fmod' : no matching overloaded function found (using implicit conversion) 
WARNING: 0:23: 'texture2D' : function is deprecated in current GLSL version 


depal
#version 100
// Driver: Adreno (TM) 650 - GLSL 100
#define DISCARD discard
precision lowp float;
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
uniform sampler2D pal;
precision highp float;
varying highp vec2 v_texcoord;  // TEXCOORD0

void main() {
  vec4 index = texture2D(tex, v_texcoord);
  float coord = (fmod(index.r * 15.995000, 16.0) * 0.001953) + 0.000977;
  vec4 outColor = texture2D(pal, vec2(coord, 0.0));
  gl_FragColor = outColor;
}

Status: new. 1 hits from 2023-01-16 18:16:49 to 2023-01-16 18:16:49 UTC. Message #2265979.

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.