Message #1439314 - D3D error in shader compilation: info: %s / code: %s

Kind #687: D3D error in shader compilation: info: %s / code: %s

Game: God of War: Chains of Olympus (UCAS40198_1.00)

D3D error in shader compilation: info: internal error: compilation aborted unexpectedly
 / code: #pragma warning( disable : 3571 )
float4x4 u_proj : register(c0);
float2 u_fogcoef : register(c18);
float4 u_cullRangeMin : register(c80);
float4 u_cullRangeMax : register(c81);
struct VS_IN {
  float4 position : POSITION;
  float2 texcoord : TEXCOORD0;
  float4 color0 : COLOR0;
  float4 color1 : COLOR1;
};
struct VS_OUT {
  float3 v_texcoord : TEXCOORD0;
  float4 v_color0    : COLOR0;
  float3 v_color1    : COLOR1;
  float v_fogdepth: TEXCOORD1;
  float4 gl_Position   : POSITION;
};
VS_OUT main(VS_IN In) {
  VS_OUT Out;
  Out.v_texcoord = float3(In.texcoord, 1.0);
  Out.v_color0 = In.color0;
  Out.v_color1 = In.color1.rgb;
  Out.v_fogdepth = In.position.w;
  float4 outPos = mul(float4(In.position.xyz, 1.0), u_proj);
  float3 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.w = u_cullRangeMax.w;
    }
  }
  Out.gl_Position = outPos;
  return Out;
}

Status: new. 16 hits from 2019-11-19 19:37:08 to 2019-11-19 19:37:11 UTC. Message #1439314.

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.