Recompiler: Return BVH misses for unmapped memory windows #2532
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2542"
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?
Imported from ivall/xcl. Originally posted by Lkxex on 2026-11-25T22:25:04Z.
Reject unmapped UMA windows before interpreting a BVH node. Zero-filled reads can otherwise appear to be a box with valid child zero. Both HLSL and direct DXIL now return the correct box or triangle miss.
What is in it
Tested
Regression run
Pending. This draft has no matching main/head game smoke captures.
Not tested
Whole workspace test suite, real title smoke, FPS, and lighting.
AI use
OpenAI Codex (GPT-6.2 Sol) assisted with implementation and tests.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T22:32:06Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T23:24:55Z.
Tested: current PR head merged onto current
origin/main(clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo targetx86_64-pc-windows-gnurun under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).gpu_suite (cold cache): 166 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR.Targeted run of the
bvhfilter (14 tests incl. the new unmapped-window misses): all passed.Not tested: retail titles (no title data on this lane, counts only).
AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.