Recompiler: Return BVH misses for unmapped memory windows #2542
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2542
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Lkxex on GitHub · 2026-11-25 22:25 UTC · original
Lkxex:fix/bvh-missing-window→main· +57 −4 · 4 files · 1 commits · draftReject 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.
@DavidM1911 on GitHub · 2026-11-25 22:32 UTC · original
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!
@SlopTart on GitHub · 2026-11-25 23:24 UTC · original
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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.