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

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

Game: Gran Turismo® (UCUS98632_2.00)

Error in shader compilation: info: ERROR: 0:17: 'assign' :  l-value required "h_depth" (can't modify an attribute)
ERROR: 0:18: 'assign' :  l-value required "h_normal" (can't modify an attribute)
ERROR: 2 compilation errors.  No code generated.


00000000:0000000a THR C 
#version 320 es
// Adreno (TM) 506 - GLSL 320
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
in vec4 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
out lowp vec4 v_color0;
in float h_depth;
in vec3 h_normal;
void main() {
  v_color0 = color0;
  vec4 outPos = mul(u_proj_through, vec4(position.xyz, 1.0));
  gl_Position = outPos;
  h_depth = outPos.z/outPos.w;
  h_normal = vec3(-1.0);
}

Status: new. 1 hits from 2024-08-07 12:38:58 to 2024-08-07 12:38:58 UTC. Message #2526372.

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.