Kind #687: D3D error in shader compilation: info: %s / code: %s
Game: Ben 10 Alien Force: Vilgax Attacks (ULUS10488_1.00)
D3D error in shader compilation: info: internal error: compilation aborted unexpectedly
/ code: sampler tex : register(s0);
float4 u_alphacolorref : register(c1);
float4 u_alphacolormask : register(c2);
float3 u_fogcolor : register(c3);
float roundAndScaleTo255f(float x) { return floor(x * 255.0f + 0.5f); }
struct PS_IN {
float3 v_texcoord: TEXCOORD0;
float4 v_color0: COLOR0;
float v_fogdepth: TEXCOORD1;
};
float4 main( PS_IN In ) : COLOR {
float4 t = tex2D(tex, In.v_texcoord.xy).bgra;
float4 p = In.v_color0;
float4 v = p * t;
if (roundAndScaleTo255f(v.a) <= u_alphacolorref.a) clip(-1);
float fogCoef = clamp(In.v_fogdepth, 0.0, 1.0);
v = lerp(float4(u_fogcolor, v.a), v, fogCoef);
return v;
}
Status: new. 1 hits from 2020-05-28 03:29:38 to 2020-05-28 03:29:38 UTC. Message #1560366.
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.