D3D12.X: keep barriers carrying console hint flags #3090
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3090"
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 Prime1997 on 2026-11-28T03:35:18Z.
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.
Imported from ivall/xcl. Originally posted by andrewDoing on 2026-11-28T03:56:04Z.
I ran the four stock barrier tests on unmodified rebased head
b3e676171db6f82bd1741406630570aac50bcb5b, native RTX 5070 / NVIDIA 616.92. Result: 4 passed, 0 failed, 0 ignored, no skip notices.The GPU fixture independently checked all 16 RGBA8 pixels for the ordinary transition, console hint
0x10000, and paired split0x10001/0x10002, after queue signal and fence completion. The other three tests cover transition flags, UAV/aliasing ordering, and existing filters.I requested
XCL_D3D12_DEBUG=1, but the runner does not expose whether enabling the debug layer succeeded, so this is not a certified debug-layer validation. I did not run the full workspace or a retail title.AI use: OpenAI Codex with GPT-6.2 Astra ran the tests; Codex reviewed and prepared this report.
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-28T04:00:28Z.
Independent RTX 3080 Ti check of #3090 head
b3e67617, based onnvidia-deve48e74ca. Windows 11 build 26300, driver 621.35, Ryzen 7 9800X3D, rustc 1.99.1 MSVC, DXC 1.8.2502.11.cargo test --offline --locked -j 4 -p xcl --lib resource_barrier_console -- --test-threads=1 --nocapturepassed 4/0/0, including the native 16-pixel texture readback. I also rerangpu_resource_barrier_console_hint_preserves_texture_copywithXCL_D3D12_DEBUG=1: 1/0/0, no reported skip or D3D12 error in that process's output. The test does not assert anID3D12InfoQueuemessage count, so this is a readback result, not a complete validation-layer claim.The full
cargo test --offline --locked -j 4 --workspace --no-fail-fast -- --test-threads=4finished 1,904 passed, 2 failed, 48 ignored across 40 targets, with 26 explicitSKIPPEDnotices.console_mesh_caches_hlsl_compute_pass_in_memory_and_on_diskfailed withDXIL not compiled yet; the same exact test fails on unchanged parente48e74ca(0/1/0).d32s8_targets_take_their_own_size_of_video_memoryalso failed in the concurrent suite, then passed in an isolated head rerun (1/0/0). A further four-thread library rerun aborted when the coherent window could not be restored after a CUSTOM segment, so it produced no valid aggregate count. I cannot attribute the VRAM test's suite failure or the abort to this barrier change from these runs. No paired retail smoke was run.AI use: Codex (GPT-6.2 Sol) inspected the patch, ran the tests and checked this report.
Imported from ivall/xcl. Originally posted by DarkPanda69 on 2026-11-28T04:03:47Z.
AMD run (listed as untested), with an RTX 3060 in the same PC: the four new tests pass on both, and nothing else in
list_xchanges.Tested: at the PR head
b3e6761against its merge-base withnvidia-dev,e48e74c(the diff doesn't apply as a patch on today'snvidia-dev01b94f5). Debug, Rust 1.100.0, Windows 11 Pro 26200, Ryzen 7 5800X, card picked withXCL_ADAPTER; RX 9070 XT (RDNA4) driver 32.0.32029.2010, RTX 3060 driver 32.0.16.1088.cargo test -p xcl --lib -- hle::d3d12x::list_x::tests:: --test-threads=1 --nocapture: merge-base 50 passed, 0 failed; PR 54 passed, 0 failed, 0 ignored, no SKIPPED, on both cards.gpu_resource_barrier_console_hint_preserves_texture_copyprintedbarrier texture-copy adapter: AMD Radeon RX 9070 XT/… NVIDIA GeForce RTX 3060.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.