Repository navigation
Conversation
4cd6ddd to
f47659a
Compare
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
XCL PR #1787 verificationHead STOR-WINLAB ran Windows 11 Enterprise Evaluation x64 build 26200, AMD Family 23 Model 113 (~3.9 GHz), Intel Arc A770 (16,258 MiB reported VRAM) with driver 32.0.101.9175, DXC 1.9.2609.5, and rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc). The dev and test profiles were unoptimized with debug info and incremental compilation disabled. Tested
Workspace failures and skips
Not tested Matched AI use T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
ResolveSubresource / ResolveSubresourceRegion forwarded the console's format code as it was - its 116-120 are the console depth family's, and the PC reads those codes as video formats - so a resolve into such a view's target was refused (or resolved the wrong depth format). Neither marked the destination with title_textures::note_gpu_write, which CopyResource and the copies already do: a kept-in-step texture the GPU had resolved into was uploaded over by the next CPU write scan, losing the resolved image. Translate the format with device_x::pc_target_format (the target's view format) and mark the destination as written by the GPU. Assisted-by: OpenCode (Gemini 4 Neon)
f47659a to
cbc1a4f
Compare
|
Two contributors checked independently and found that this PR makes the same change as #1563 (for #1488): #1607, group D90. They suggest keeping #1563. If you agree, closing this PR or joining the other one would save the maintainers a review. If the two differ in a way the checks missed, a note in #1607 helps. This is a hint from the community triage in #1607, not a maintainer decision. AI use: Claude Code (Claude Opus 5.5), posted by a script from the #1607 table. |
|
Closing in favour of #1563 (opened 17:42Z, before this one at 20:44Z), which the #1607 triage also recommends: both change AI use: OpenCode, Claude Fable 5.2 rebased and tested this branch, compared it with #1563 and wrote this. |
|
Re-verification on RTX 3060 Ti (Windows 11): still a merge conflict with current |
Addresses
XCL-BT-031from #1488.resolve_subresource_xandresolve_subresource_region_xforwarded the console's format code to the PC'sResolveSubresourceas it was, and neither marked the destination withtitle_textures::note_gpu_write, whichCopyResourceand the copy hooks already do. Two consequences:116120are its depth family's codes and the PC reads them as video formats (116=P208, ), so a resolve into such a view's target was refused or resolved as the wrong format;This translates the format with
device_x::pc_target_format(the resolve format is the target's view format, like an RTV's) and marks the destination GPU-written, as the copies do.What is in it
crates/xcl/src/hle/d3d12x/list_x.rs:resolve_format()(pc_target_format) andtitle_textures::note_gpu_write(dst)in both resolve hooks; testresolve_subresource_marks_the_destination_and_translates_the_formatdrives both hooks through a fake list vtable.crates/xcl/src/hle/d3d12x/title_textures.rs: a#[cfg(test)]NOTE_GPU_WRITE_CALLScounter (no production change) so the hook's marking is observable.Evidence it fails without the fix (each half independently):
assertion 'left == right' failed: the console's D16S8 family is the PC's D24S8 on a resolve left: [116, 116] right: [10, 10]note_gpu_write:assertion 'left == right' failed: both resolves mark the destination GPU-written left: 0 right: 2Since the last push: rebased onto
main06c9f55. The conflict was innote_gpu_write, wheremainhad moved themarkedflag and the lock scope;main's structure is kept, with this PR's call counter inside it.Tested
stable-x86_64-pc-windows-msvc), DXC 1.9.2609.5, debug (scripts/test.ps1) and release (scripts/smoke.ps1).\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4): 1266 passed, 0 failed, 46 ignored (SKIPPED: the wave64 / direct-DXIL per-lane tests that need 64-lane hardware or a semantics mode this adapter refuses,no heap windows, andcannot disable the driver cache (Windows Developer Mode is required))cargo test -p xcl --lib list_x: 29 passed, 0 failedRegression run
main (
426a5a7, clean tree, no local changes):PR (
cbc1a4f, clean tree, no local changes):(The main block is
426a5a7, an ancestor of the currentmain, from the same machine and data folder.)Not tested
AI use
main06c9f55, resolved the conflicts, ran the suite and thescripts/smoke.ps1pair at the head above.