D3D12.X: a title texture's pages can be unmapped while submitted draws still sample it (#288) #470
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?
Imported from ivall/xcl. Originally posted by Cattn on 2026-11-24T00:49:13Z.
From a static review (no builds or runs) of
2997c9a:This follows up on #288.
unmap_supersededenqueues tile removal on XCL's separate mapping queue. The existing fence wait orders later title submissions after mapping changes, so removal can still race with previously submitted draws that sample the texture. This is a GPU-ordering bug, and I found no indication of malicious code.Defer the unmap until fences from the queues that used the texture confirm its last GPU use has completed.
github.com/ivall/xcl@2997c9aca6/crates/xcl/src/hle/d3d12x/vram.rs (L505-L519)github.com/ivall/xcl@2997c9aca6/crates/xcl/src/hle/d3d12x/vram.rs (L564-L576)Review by Claude Code (Claude Opus 5.5) with a gpt-6.2-sol audit subagent; I checked each point against the code.
upstream-sync referenced this issue2026-11-24 07:05:16 +00:00
upstream-sync referenced this issue2026-11-24 07:06:02 +00:00
upstream-sync referenced this issue2026-11-24 17:06:03 +00:00
upstream-sync referenced this issue2026-11-24 19:07:10 +00:00