Files
AC6_recomp/thirdparty
Dipshet 566817d628 Fix missing aircraft ground shadow on GPUs without constant-alpha blending (Blackwell and Battlemage)
The aircraft's ground shadow is drawn with the Xenos CONSTANT_ALPHA blend factors, which dfd8b92a routed to D3D12's ALPHA_FACTOR family, an OPTIONAL feature that must be checked via OPTIONS13::AlphaBlendFactorSupported first. We never checked, so on a device reporting false the shadow's pipeline is rejected and, being indistinguishable from one still compiling, its draw is dropped from every frame in silence. Now the capability is queried, and where it is absent the pixel shader carries the blend constant's alpha in its alpha output so INV_SRC_ALPHA reproduces the same blend exactly.
2026-08-09 19:36:57 +02:00
..