D3D12.X: translate geometry pipeline target formats #1717
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1717
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1717/head"
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?
@hajduzsolt on GitHub · 2026-11-24 19:43 UTC · original
hajduzsolt:fix/geometry-pipeline-target-formats→main· +34 −4 · 1 files · 1 commits · closed without mergingRuntime fix verified with unit tests and RX 9070 XT smoke run.
What is in it
Tested
cargo test -p xcl --lib geometry_stream_maps_console_target_formats -- --test-threads=2passed.cargo test --workspace -- --test-threads=2passed; library tests: 810 passed, 22 ignored. Other test binaries also passed. Runtime GPU skips were not individually assessed in this run.Regression run
main:
PR:
Not tested
AI use
@WebIdentity1 on GitHub · 2026-11-24 19:55 UTC · original · edited 2026-11-24 19:56 UTC
Independent native NVIDIA validation of exact head
4b686763342dc57c8129075d3914f62d9d37d374(parentc160d86ef2efe3a07e4dfb473e4fa72eafb413c0).Windows 10 Home 19045, RTX 3090 driver 591.74, Rust 1.98.1 MSVC, Agility SDK 1.620.2;
XCL_ADAPTER=3090,XCL_REQUIRE_GPU=mesh,XCL_HEAP_WINDOWS=1, direct DXIL unset. All 292 tracked-file SHA-256 hashes matched on Windows before and after testing.geometry_stream_maps_console_target_formats: 1 passed / 0 failed / 0 ignored.gpu_geometry_mode_es_gs_strip: 1 passed / 0 failed / 0 ignored, no skip. This executes the synthetic translated geometry compute and mesh pass-through draw on the 3090. It does not call the changedput_geometry_target_formatshelper.cargo build --locked --workspace: exit 0.cargo test --locked --workspace --no-fail-fast -- --test-threads=4 --show-outputin interactive desktop session 1: 858 passed / 1 failed / 42 ignored across 20 targets, no timeout. Sole failure: the pre-existing #202 CLAMP lane-0 assertion. In an earlier same-day run on the exact parent with the same adapter/Agility/heap-window settings, the counts were 857 / 1 / 42 with the same sole failure; the head adds one unit test.Four explicit skip paths are included in the passing totals: two native-wave64 reference tests and two system D3D12 debug-layer tests. Some workspace fixtures choose the default adapter independently. I did not run a retail title or an integrated console VS+GS PSO using one of the converted formats, so this does not establish that the format mapping changes actual gameplay pixels on NVIDIA. It adds independent Ampere build, unit, synthetic geometry draw, and suite coverage.
Overlap found after this run: #1716 opened about two minutes before this PR and changes the same
translated_gs_psoRTV/DSV mapping forXCL-BT-036. It routes both the stream and existing plain-desc pipeline throughpc_pipeline_formats, while this PR uses a separate stream helper. My #1717 test results do not compare the two implementations; please coordinate which patch to carry forward.Validation/report prepared with Codex (GPT-6); all test results above came from the Windows machine.
@hajduzsolt on GitHub · 2026-11-24 20:10 UTC · original
Thanks for the independent validation and for catching the overlap. I confirmed that #1716 was opened first and covers the same geometry pipeline format mapping, so I am closing this duplicate in favor of that PR.
@DavidM1911 on GitHub · 2026-11-24 22:28 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored.Thanks!
Pull request closed