pixel_aot_div_fmas_warp: Windows 10 in-box WARP faults on double ogt/ole comparisons #876
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#876
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lukaslw-lab on GitHub · 2026-11-23 15:14 UTC · original
pixel_aot_div_fmas_warp(added in #704) fails on the Windows 10 in-box WARP: every case reportsDXGI_ERROR_DEVICE_REMOVED(0x887a0005), starting at the first dispatch.pixel_aot_div_fmas_hardwarepasses, and so does the same test on app-local WARP 1.0.22.The cause is narrower than doubles in general. The in-box WARP faults on a double comparison with the DXIL predicate
ogtorole. The helper's midpoint branch containss_sc > 0.0 && err_sc > 0.0, which DXC emits asfcmp ogt double.A standalone harness ran one
cs_6_0dispatch per variant (DXC 1.9.2609) on three adapters:olt,oge,oeq,one,uneogt,olefastorprecise, or on whether the comparison feeds a select or a branch. Pipeline creation succeeds.precise2Sum,asuint(double, lo, hi),asdouble,clamp, and selecting a double constant.0.0 < xor-x < 0.0does not help, because DXC folds both back toogt.x >= 0.0 && x != 0.0staysoge+uneand runs everywhere.dlt,dge,deqanddne, so>and<=need swapped operands, and those two are the ones that fault.Minimal shader:
Environment: Windows 10 Pro 22H2 (build 19045), MSVC 19.52, Windows SDK 10.0.26100, DXC 1.9.2609,
upstream/mainat041ca68. D3D12 debug layer not enabled.In the midpoint branch both values are finite and nonzero, so
>=gives the same result as>. I have a one-line change that runs all 10 cases unchanged on the in-box WARP, WARP 1.0.22 and the RTX 3080 Ti, and will open it as a PR.AI-assisted: investigated with Claude Code; the measurements were run on my PC.