Message #1950645 - Error in shader program link: info: %s fs: %s %s vs: %s %s

Kind #967: Error in shader program link: info: %s fs: %s %s vs: %s %s

Game: Daxter (UCES00044_1.00)

Error in shader program link: info: Vertex info
-----------
(0) : fatal error C9999: Can't convert to expr: 1f + @TMP0, 1f + @TMP1


fs: 00000000:00800002 Tex 2x TFuncMod 
#version 330
#extension GL_EXT_gpu_shader4 : enable
// ION/PCI/SSE2 - GLSL 330
#define DISCARD discard
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
uniform sampler2D tex;
 in lowp vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
  vec4 t = texture(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = vec4(t.rgb * p.rgb, p.a);
  v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0);
  fragColor0 = v;
}

vs: 01030000:00260b38 HWX C T N Tex UVEnv Light: 1: c:0 t:0 2: c:0 t:0 MatUp:3 Cull 
#version 330
#extension GL_EXT_gpu_shader4 : enable
// ION/PCI/SSE2 - GLSL 330
#define gl_VertexIndex gl_VertexID
#define lowp
#define mediump
#define highp
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
in lowp vec4 color0;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos1;
uniform vec3 u_lightpos2;
uniform lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump vec3 v_texcoord;
void main() {
  vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz;
  mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz);
  vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0);
  vec4 outPos = mul(u_proj, viewPos);
  lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0);
  mediump float ldot;
  v_color0 = clamp(lightSum0, 0.0, 1.0);
  v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal)), 1.0 + (length(u_lightpos2) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos2), worldnormal))) * 0.5, 1.0);
  vec3 projPos = outPos.xyz / outPos.w;
  if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) {
    if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) {
      outPos.xyzw = u_cullRangeMax.wwww;
    }
  }
  gl_Position = outPos;
}

Status: new. 1 hits from 2021-10-02 11:48:45 to 2021-10-02 11:48:45 UTC. Message #1950645.

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.