Repository navigation
D3D12.X: keep barriers carrying console hint flags - #3090
Conversation
Retain supported barrier records and PC split flags while removing console-only per-record hint bits. Four focused checks pass on RTX 3060 Ti; the unchanged runtime fails all four regression controls. Full-suite and retail merge checks remain pending. Assisted-by: Codex (GPT-6)
9d37e9c to
b3e6761
Compare
|
I ran the four stock barrier tests on unmodified rebased head The GPU fixture independently checked all 16 RGBA8 pixels for the ordinary transition, console hint I requested AI use: OpenAI Codex with GPT-6.2 Astra ran the tests; Codex reviewed and prepared this report. |
|
Independent RTX 3080 Ti check of #3090 head
The full AI use: Codex (GPT-6.2 Sol) inspected the patch, ran the tests and checked this report. |
|
AMD run (listed as untested), with an RTX 3060 in the same PC: the four new tests pass on both, and nothing else in Tested: at the PR head
Not tested: the whole suite, a title, Intel. AI use: Claude Code (Claude Opus 5.5) ran the tests on this machine and wrote this report. |
…#3092 Co-Authored-By: Claude Opus 5.5 <[email protected]>
main gained 345 commits since 753e8b1, most of them bmjask's stack (xcl-dev#2959), plus xcl-dev#2872, xcl-dev#3085 and xcl-dev#3086 from this branch. Conflicts, per PR: - xcl-dev#2404 + xcl-dev#2633 (split chained ExecuteIndirect): main's xcl-dev#2959 took both over (ed98461, a05fbc4, 8626d5b: IndirectBuild/IndirectChain on a CBV root, one-command slicer, separate cache namespace). Main's side kept in dispatch_chain.rs, pso.rs (slicer, command signature, chain root), bind.rs (ExecuteIndirect path), device_x.rs (signature traits), pso_async.rs (no background whole build, so no build_waited_on), real.rs (ComputeBuild, driver_cache names) and shaders.rs (blob names). Dropped with them: slab_count, record_slicer, abi_signature_id names, the direct root-CBV constant blocks, list_x::predicated, the split.rs/runner.rs ExecuteIndirect test and the list_x chain-scratch test. Not in main: xcl-dev#2404 ran the pieces before any whole form was built; main runs the whole form (built on the title's thread) until the indirect set is ready. - xcl-dev#2707 (allocator reclaim): main has it (31930d8, 057f463, 8e7b566). alloc_pool.rs is main's, with xcl-dev#867's changes on top; bind.rs takes main's native_backing; xcl-dev#2707's tests and bind::push_uma_for_test go. - xcl-dev#867 + xcl-dev#2477 (Wine vtables and fences), adapted to main's new code: real.rs keeps the in-place patching, UnadoptGuard and FenceProxy beside main's native_queue_* helpers; guards in cl_reset, bind_pipeline_exact, clear_pipeline_exact, reset_pc_allocator, the title ExecuteCommandLists closure and native_queue_execute; Signal/Wait unwrap the title's fence (also in native_queue_signal/wait); list_x guards in reset_reserved_segment and KickoffX's submit closures; create_raw_fence for main's new internal fences in alloc_pool.rs (SubmissionGate), title_textures.rs, present.rs, vram.rs, sparse.rs, cpu_writes.rs; tests as xcl-dev#2477 had them; runner.rs is main's plus submit_list. - xcl-dev#1803 (heap addresses): kept, carried into main's PreparedSplit and PreparedAbiState (prepared_abi_io takes the heaps). - xcl-dev#1368 (NodeMask 0): kept in compute_container, before main's per-node blob names, so names and pipeline use node 0. - xcl-dev#1860, xcl-dev#2082 (cfg.rs, module/opt.rs): cfg.rs is 1567f72's version (xcl-dev#1860 on main's Succs); opt.rs is that plus xcl-dev#2082's arm and test. - xcl-dev#2229 (rodata): kept through main's kernel.rs entry points; translate_entry_rodata loses wave32_only as main dropped per-GPU tables (3cde0cc); pso.rs and coverage.rs call it with main's options (no_remap, split for graphics); recomp Options keeps rodata and no_remap. - xcl-dev#1975: kept in emit.rs and lower_valu.rs; its mesh barrier guard and its test dropped, main's wider guard (2ca9127) covers it; the now-unused lower::has_non_uniform_barrier goes. - xcl-dev#2070 (64 MB stacks): pso_async::WORKER_STACK on main's worker, helper and preload threads; shaders.rs's piece threads on worker_thread. - xcl-dev#2551 (whole forms prebuilt): split_whole_roots(false) is DirectChain, so the precompile builds every split program's whole form; main built it only for programs an earlier run used through ExecuteIndirect. - xcl-dev#688 (dxc.rs imports), xcl-dev#2762 (host.rs log line), xcl-dev#3090 (list_x tests), arch/window-title-commit (present.rs with_commit on main's compiling_text), README.md: both sides. - list_x.rs: main dropped title_textures::list_reset; main's side. - sparse.rs, vram.rs: main's quarantine_tiles_for and per-device retire state, with create_raw_fence. - xcl-dev#3090, xcl-dev#3092 tests: runner::device and Uma::block_len added from nvidia-dev (5 and 12 lines) so the lib tests compile. - xcl-dev#751: its commit is already in main (b84e037, via xcl-dev#2844); it leaves the README table with xcl-dev#2404, xcl-dev#2633, xcl-dev#2707, xcl-dev#2872, xcl-dev#3085 and xcl-dev#3086. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep valid transition, aliasing and UAV records when their per-record flags include console hints. Preserve PC split-barrier bits and remove unsupported high bits instead of dropping the entire record.
What is in it
Tested
cargo test --locked -p xcl --lib --target-dir <private-target> -- --exact --test-threads=1 --nocapture hle::d3d12x::list_x::tests::resource_barrier_console_flags_keep_transition_and_split_bits hle::d3d12x::list_x::tests::resource_barrier_console_flags_keep_uav_ordering_and_aliasing hle::d3d12x::list_x::tests::resource_barrier_console_flags_leave_existing_filters_in_place hle::d3d12x::list_x::tests::gpu_resource_barrier_console_hint_preserves_texture_copyba9d1f947. Current headb3e676171db6f82bd1741406630570aac50bcb5brebases the identical patch ontoe48e74cad7af992f7b472b59f06ad23ae3695166; stable patch identities match. The current-head rerun is pending.Regression run
Pending. No retail smoke blocks are claimed.
Not tested
AI use
Codex (GPT-6) implemented and independently reviewed the change and ran the reported checks. API contracts were checked against local GDK documentation; no SDK code, headers, binaries, samples or documentation text are included.
Optional temporary Discord for coordinating contributor work, testing and comparing results.