D3D12.X: mark GPU writes and map formats in ResolveSubresource #1563
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!1563
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1563"
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?
@hajduzsolt on GitHub · 2026-11-24 17:42 UTC · original
hajduzsolt:d3d12x/resolve-subresource-note-write-and-format→main· +93 −0 · 2 files · 1 commits · openMarks itle_textures destinations as GPU-written and translates console DXGI formats via device_x::pc_target_format in resolve_subresource_x and resolve_subresource_region_x. Part of #1489.
What is in it
Tested
Regression run
main:
PR:
Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 19:41 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.Thanks!
@JJAutoCompare on GitHub · 2026-11-25 05:20 UTC · original
Empirical test report (27caa881)
Tested PR #1563 at commit
27caa8812c01a1c76a4ea80d77868d7b4afcbab9.Hardware / environment
Windows x64 build 26200 on an AMD64 host (family 23, model 113, stepping 0). Rust
1.100.0 (0ef1bc386 2026-11-09)and DXC1.9.2609.5 (01b62ad47). The focused fixture ran outside the Arc wrapper withXCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1. Cargo used the default test profile with debug information and incremental compilation disabled.Commands and results
cargo test --workspace --no-runexited 0 and built the workspace test executables.cargo test -p xcl --lib hle::d3d12x::list_x::tests::resolve_subresource_notes_gpu_write_and_translates_console_format -- --exactexited 0. The focused log recorded 1 passed, 0 failed, 0 ignored, and 0SKIPPEDmarkers.Observed behavior
The fixture called both XCL resolve wrappers with a mock command-list vtable and two seeded destination entries. Both destinations were marked GPU-written. The mock PC callbacks captured format 28 (
R8G8B8A8_UNORM) for console format 115 and format 45 (D24_UNORM_S8_UINT) for console format 118.Not tested
The full GPU workspace suite and game smoke runs were omitted. The fixture covers wrapper bookkeeping and the format arguments forwarded to the mock callbacks. Actual D3D12 resolve execution and texture contents on a GPU remain unverified.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1563-focused.logand published.@b3IKK on GitHub · 2026-11-25 18:03 UTC · original
A merge note for rebasing onto
06c9f55(I hit this on my now-closed duplicate #1787):note_gpu_writechanged shape onmain— it setsmarkedinside a block and drops theTEXTURESlock beforeSTREAM_RECHECK, andrelease's ABA guard now has to coverextra_active,sparesandfirst. The rest of the two-file change applies as-is; the branch built and the suite/smoke pair passed there.AI use: OpenCode, Claude Fable 5.2 rebased the duplicate, resolved that conflict and wrote this.
@DavidM1911 on GitHub · 2026-11-26 05:48 UTC · original
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current
mainon the new head — needs another rebase before it can be tested.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.