D3D12.X: route stream graphics PSOs through create_graphics_pso_tracked #1661
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!1661
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1661"
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?
@fixgep on GitHub · 2026-11-24 18:53 UTC · original
fixgep:fix/stream-graphics-pso-tracking→main· +294 −10 · 4 files · 1 commits · openPart of #1489 (
XCL-BT-023).When
dev_create_pipeline_stateunpacks a graphics pipeline state stream viastream_pipeline, it previously calledgraphics_psodirectly, bypassingdevice_x::create_graphics_pso_tracked. As a result, stream-created graphics PSOs never receivedD3D12_PIPELINE_STATE_FLAG_DYNAMIC_DEPTH_BIASon supported adapters and were never recorded bydevice_x::note_base, causing subsequentCreateDerivedPipelineStateXandRSSetDepthBiasXcalls to fail.What is in it
device_x::create_graphics_pso_trackedover its PSO creation callback incrates/xcl/src/hle/d3d12x/device_x.rs.StreamPipeline::Graphicsindev_create_pipeline_statethroughdevice_x::create_graphics_pso_trackedwithgraphics_pso(..., true)incrates/xcl/src/hle/d3d12x/real.rs, leaving compute, mesh, andUnknownstream paths unchanged.stream_pso_tests::stream_graphics_pso_is_tracked_for_derived_and_depth_biasincrates/xcl/src/hle/d3d12x/real.rsand title checkgpu::stream_graphics_pso_trackingintests/testtitle/src/gpu.rsandtests/testtitle/src/main.rs.Tested
32.0.15.9144), AMD Ryzen 5 7500F, Windows 10 Pro 25H2 (build 26200),rustc 1.100.0, debug buildcargo test -p xcl --lib stream_graphics_pso_is_tracked_for_derived_and_depth_bias -- --nocapture: 1 passed, 0 failedcargo test -p xcl --test e2e -- --test-threads=1: 3 passed, 0 failedcargo test --workspace --no-fail-fast -- --test-threads=4: 776 passed, 1 failed (pre-existinggpu::recomp::tests::gpu_clamp_and_omod_per_instruction), 41 ignoredSKIPPEDGPU tests on this adapter: 2 (no wave64:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware), 1 (no heap windows:heap_window_out_of_memory_falls_back_to_the_switch_form)Regression run
Baseline (
main):This branch (
fix/stream-graphics-pso-tracking):Not tested
XCL_SAMPLE_*tests (no sample variables set)AI use
@eizispark on GitHub · 2026-11-24 19:21 UTC · original
Hardware test report — commit
f70293dVerified
f70293d56a46ea2b2d6cbcd7afac241dd777cfeb(clean merge withmainc160d86ef2efe3a07e4dfb473e4fa72eafb413c0): pass.Tested
32.0.32015.16001), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11 x64,rustc 1.100.0 (0ef1bc386 2026-11-09), debug tests + release smokecargo test --workspace --no-fail-fast -- --test-threads=4:777 passed, 0 failed, 41 ignored(1 skipped:heap_window_out_of_memory_falls_back_to_the_switch_form: no heap windows)hle::d3d12x::real::stream_pso_tests::stream_graphics_pso_is_tracked_for_derived_and_depth_biasandtest_title_runs_and_game_folder_is_untouched(testtitlee2egpu::stream_graphics_pso_tracking) passedgpu::recomp::tests::gpu_clamp_and_omod_per_instructionand both wave64 GPU tests skipped on NVIDIA (gpu_geometry_wave32_prefix_count_over_a_maskandgpu_wave32_program_in_wave64_hardware, plusconsole_wave64_compute_through_the_pso_hook_dispatch_and_read_back) ran natively and passed on RDNA4Regression run
main(c160d86ef2efe3a07e4dfb473e4fa72eafb413c0):PR (
f70293d56a46ea2b2d6cbcd7afac241dd777cfeb):Not tested
OPTIONS16dynamic depth bias (Intel Arc fallback path) except through unit/e2e coverage, Wine/vkd3d-proton, gameplay past the menusAI use
@DavidM1911 on GitHub · 2026-11-24 21:16 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~22 ignored.Thanks!
@JJAutoCompare on GitHub · 2026-11-25 04:47 UTC · original
XCL PR #1661 — Windows / Arc A770 verification
Clean detached head
f70293d56a46ea2b2d6cbcd7afac241dd777cfebon STOR-WINLAB. Windows 11 Enterprise Evaluation 10.0.26200, AMD Ryzen 7 3800X, Intel Arc A770 (driver 32.0.101.9175), DXC 1.9.2609.5, rustc 1.100.0 (0ef1bc386, x86_64-pc-windows-msvc).Tested
cargo build --workspaceandcargo test --workspace --no-runsucceeded outside the Arc mutex. The test build produced 19 executables.Invoke-ArcTest.ps1withXCL_ADAPTER=A770andRUST_TEST_NOCAPTURE=1.cargo test -p xcl --lib hle::d3d12x::real::stream_pso_tests::stream_graphics_pso_is_tracked_for_derived_and_depth_bias -- --exact— 1 passed, 0 failed, 0 ignored, 0 skipped. Verified base registration and static bias metadata, derived PSO creation, patched bias PSO creation, nativeRSSetDepthBiaswithout fallback-cache growth, and tracking cleanup on release.cargo test -p xcl --test e2e test_title_runs_and_game_folder_is_untouched -- --exact— 0 passed, 1 failed, 0 ignored, 0 skipped. The new title check printed[PASS]after stream creation via slot #86, derivation via #55, and a depth-biased draw via #94 with queue fence completion. A separate title check failed as described below.cargo test --workspace --no-fail-fast -- --test-threads=4— exit 101. The 20test result:lines (19 binaries and one doctest target) sum to 761 passed, 16 failed, 41 ignored. Both new stream-PSO checks passed again.Workspace failures and skips
RSSetDepthBiasX(-1000.5)produced a blue top-right pixel where the test expected green.SKIPPEDlines were counted. Two cited wave64, two cited debug-layer availability, one cited tiled-resource tier, and one cited heap windows. These skips provide no coverage.Not tested
Matched
mainbaseline, retail-title smoke, other adapters, forced command-list fallback, and optional sample data.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 counts against
pr1661-suite.logand published.github-bot referenced this pull request2026-11-26 06:18:31 +00:00
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.