D3D12.X: the PC desc of a translated VS / PS pipeline in its own function #752
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/757"
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 ghost on 2026-11-24T04:44:05Z.
Preparation for #755 (part 1 of 3), no change in behaviour.
prep_graphicsdoes whattranslated_graphics_psodid between its checks and the driver call: the translated shaders,XCL's ABI root signature with their static samplers, the rect list GS, PC formats and topology.
It returns them with the DXIL the desc points at. Part 3 makes the same desc outside the title.
What is in it
prep_graphics/GraphicsPrep(crates/xcl/src/hle/d3d12x/real.rs);translated_graphics_psocalls itTested
main9e3831e(#680: the split-outprep_graphicssits underwith_switch_fallbacklike the rest oftranslated_graphics_pso): built and run on it (below). The workspace run below is from before the rebase, onf4ce27ccargo test --workspace -- --test-threads=4: 659 passed, 3 failed, 21 ignored; the 3 failures (title_textures::placed_title_textures_share_vram_and_preserve_pixels,title_textures::transitions_apply_when_their_list_is_submitted,vram::d32s8_targets_take_their_own_size_of_video_memory) fail onmain(f4ce27c) the same way in a full run (657 passed, 3 failed there) and pass alone; no GPU test SKIPPEDRegression run
main:
PR (this PR's head commit; the title is run through a folder named RetailTitle):
Not tested
AI use
Imported from ivall/xcl. Originally posted by JoaoPauluu on 2026-11-24T05:03:35Z.
Test report: #757 under Wine (Linux, NVIDIA): GTA VI regression pair
A retail-title run of this PR's head
9603711againstmain64b3f35under Wine / vkd3d-proton. No device removals or crashes, and frames within whatsmoke.sh/pr_check.pyask for.Setup
experimental-11.0-20261112(wine-11.0), vkd3d-proton v3.1 (4522cc1a) + the patch from #257, DXVK from Proton, DXC 1.9.2609,DXVK_CONFIG="dxgi.hideNvidiaGpu = False"x86_64-pc-windows-gnu(mingw-w64-gcc 16.2.0), release buildsscripts/linux/smoke.shfrom #257,XCL_NETWORK=0. Order: main, #754, #757, #757, #754, main (the same twomainruns serve both reports)64b3f359603711… in the AS slot – refusedlines asmainon every run, and nono stand-in pipelineline.(The first pair.
peak commit: 0 MBis XCL reading 0 MB committed under Wine, see #257.)Not tested
AI use: Claude Code (Claude Opus 5.5) built the commits, ran every run above on the machine above and wrote this report. The blocks and counts are pasted from those runs. The account owner asked for test reports to be posted while they were away and has not reviewed this one.
upstream-sync referenced this pull request2026-11-24 21:29:08 +00:00
Imported from ivall/xcl. Originally posted by WASDeKeys on 2026-11-25T09:57:44Z.
Test report: #757, NVIDIA on Windows (unit tests only)
The test suite gives the same result on the PR head as on the commit it branched from: 776 passed, 0 failed, 41 ignored in both runs. No difference seen.
Setup
Commits compared
9e3831e(the PR's merge-base with upstream main)4e8aaf4Command (same for both runs)
cargo test --workspace --no-fail-fast -- --test-threads=4
Results
9e3831e: 776 passed, 0 failed, 41 ignored4e8aaf4: 776 passed, 0 failed, 41 ignoredNot tested
AI use: Claude helped me set up the runs and draft this report. I ran the commands myself and the numbers above are from my own output.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T11:16:21Z.
Verification on RTX 3060 Ti (Windows 11): merge conflict with current
main— needs a rebase before it can be tested.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T04:04:26Z.
Triage (#1607) – head
4e8aaf4Part 1 of the #755 stack (#757 -> #758 -> #759; #898 is stacked on an older #758). Not a duplicate. The refactor itself (
prep_graphics/GraphicsPrepsplit out oftranslated_graphics_pso_once) moves the code without changing it.Since it was opened, main has added its own way to build a run's graphics pipelines outside the title's path:
gfx_records(773f028) records them at first use, andreal::prepare_graphics/shaders::prepare_for_launchbuild them before the next launch by callingtranslated_graphics_pso_onceon a worker device. That part of the stack's goal is now on main in another form, andreal.rshas changed so much that this split would need to be redone.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Pull request closed