Repository navigation
Recompiler & D3D12.X: mask 9-bit EXP PRIM vertex indices and map newer DispatchMesh to slot #129 - #1984
Conversation
|
Overlap note, from reading the descriptions and file lists (not run):
The parts that look independent of both are the AI-assisted (Claude Code). |
Hardware test report — commit
|
|
@eizispark Thank you for the thorough RX 9070 XT verification (997 passed, |
|
Thanks for the overlap breakdown, @upipibi! Full credit to #724 (@Cattn) on the two-pass For context on why #1984 is open:
If #724 (or #1887) is updated and lands first, we will gladly rebase and trim #1984 down to only the remaining non-overlapping pieces. |
|
Technical review findings: Blocking
Major
(The |
…r DispatchMesh to slot xcl-dev#129
ffcf056 to
3eab40a
Compare
|
Thanks for the review and split recommendation, Split and rebased
Verified locally ( |
PR #1984 compatibility verificationTested detached head Environment
Build and focused tests
Full workspace suite
Failures All 27 failures are outside the changed mesh pass-through and DispatchMesh paths. The 25 matching failures also appear in the earlier STOR-WINLAB PR #1982 log at
Five additional tests failed assertions.
Skips The log contains exactly 23 lines beginning with Not tested
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 the counts against |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Regression run of Against the limits in CONTRIBUTING.md: 100 % of AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, AI use: Claude Code (Claude Opus 5.5) built both trees and ran |
# Conflicts: # crates/xcl/src/hle/d3d12x/real.rs
…test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @Toons29 for running and sharing the exact-head 60 s |
Brings main to full parity with upstream/main (cdb0891), including: - World rendering & gameplay: xcl-dev#1991, xcl-dev#1988, xcl-dev#1984, xcl-dev#2028, xcl-dev#2078 - Memory / VRAM / PSO: xcl-dev#1985, xcl-dev#2157, xcl-dev#2178, xcl-dev#2195, xcl-dev#2176, xcl-dev#1996, xcl-dev#1914 - Direct DXIL & shaders: xcl-dev#2120, xcl-dev#2174, xcl-dev#2194, xcl-dev#2207, xcl-dev#1951, xcl-dev#1973, xcl-dev#2156, xcl-dev#2064 - Preserves local Linux/Wine customizations: docs/linux.md, scripts/linux/*, in-process Wine XAsync (xgameruntime/api.rs), loader watchdog bypass, and Wine MEM_WRITE_WATCH bypass on coherent UMA windows (gpu/uma.rs). Assisted-by: Antigravity (Gemini 4)
… slot 129) Conflict: NEWER_LIST_SLOTS keeps the tree's (69, 67) and adds the PR's (129, 126): 23 pairs. The older slot it names gets its handler from the two-pass merge that follows, which settles the pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…it is) The branch carries xcl-dev#304's budget commits, which the tree has already (merged under other hashes, with a later doc of the measured range). Conflicts: passthrough_max_vertices keeps the tree's later doc (the whole measured range); the recompiler tests keep xcl-dev#1984's edge-flag test next to xcl-dev#304's; translated_mesh_stream keeps the tree's deferral of every console mesh pipeline in the cached-only attempt (it covers the moved MS the PR defers, and the attempt's result is not used when it misses) and adds the PR's sparse log of moved shaders after it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecuteIndirect) Supersedes xcl-dev#724; its commits are kept with their authors. Conflicts: - bind.rs State keeps the tree's heap_bound and xcl-dev#1803's heaps next to the record buffers and scratch; reset clears the heaps and holds the record buffers for the old allocator; forget takes the state out of the sharded map (bind::STATES) and holds its buffers. HashMap is imported again for the PR's maps. - console_list.rs Layout keeps xcl-dev#1803's heaps and the PR's inline_ms; with_heaps and user_data_ms both stay. - device_x.rs keeps xcl-dev#1887's log of a refused signature and the PR's companion Dispatch signature; the CreateCommandSignature doc is back above its function (the merge had put it above indirect_arg_bytes). - real.rs console slots keep the tree's #131 / xcl-dev#132 FlushCacheRange and the PR's DispatchMesh at xcl-dev#127. - list_x.rs: the PR's bound_heaps test helper removes the list from its own part of the sharded recording map. DispatchMesh slot: xcl-dev#1984 mapped the newer layout's xcl-dev#129 to the older xcl-dev#126, this PR to xcl-dev#127, where it hooks DispatchMesh. Kept xcl-dev#127: it is the shift of two slots the other methods have, and xcl-dev#1984's own reading of the newer layout (xcl-dev#126 / xcl-dev#127 the shading-rate methods, the older xcl-dev#124 / xcl-dev#125) puts its xcl-dev#128 at the older xcl-dev#126. xcl-dev#1984's test is rewritten for (129, 127) and checks that the older slot runs bind::dispatch_mesh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…v#1803, xcl-dev#1984, xcl-dev#541, xcl-dev#2092 and the heaps' addresses in the two-pass stages)
Masks
EXP PRIMvertex indices to 9 bits (0x1FFu) in RDNA2 mesh-shader pass-through lowering and maps newer-layout command listDispatchMeshcalls at slot#129to older slot#126(two-passDispatchMesh/ExecuteIndirectexecution paths have been split out of this PR and deferred cleanly to #724 and #1887).Part of #1833.
What is in it
crates/xcl/src/gpu/recomp/emit.rs: maskEXP PRIMvertex indices with0x1FFuin both unsplit and#304-split mesh pass-through emission paths to strip RDNA2 per-edge flags at bits[9],[19], and[29].crates/xcl/src/gpu/recomp/tests.rs: addmesh_passthrough_strips_rdna2_edge_flag_bitsunit test.crates/xcl/src/hle/d3d12x/real.rs: map(129, 126)inNEWER_LIST_SLOTSfor newer-layoutDispatchMeshand addnewer_layout_maps_dispatch_mesh_to_slot_129_not_128.Tested
rustc 1.99.1 (58cf8f9c3 2026-10-13), rebased cleanly ontoaa9ab8a(3eab40a).mesh_passthrough_strips_rdna2_edge_flag_bitsandnewer_layout_maps_dispatch_mesh_to_slot_129_not_128): 2 passed, 0 failed (0new warnings).scripts/smoke.ps1regression pair on AMD Radeon RX 9070 (@Toons29): passed (0 device removals, 0 crashes).Regression run
60 s
scripts/smoke.ps1pair on exact head3eab40avsmain(AMD Radeon RX 9070, driver 32.0.32029.2010, Windows 11 26300, release,XCL_NETWORK=0on a retail title), contributed by@Toons29:main:
this PR:
Not tested
scripts/smoke.ps1pair on3eab40a, fullcargo test --workspacesuite, runtime GPU execution across AMD / NVIDIA / Intel hardware, and Linux/Wine/vkd3d-proton.AI use