D3D12.X: forward shading rates on shifted command lists #824
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!824
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-824"
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?
@Babyhamsta on GitHub · 2026-11-24 06:11 UTC · original
Babyhamsta:fix/shifted-shading-rate→main· +215 −5 · 5 files · 1 commits · openForward the newer console command-list slot 126 to the PC shading-rate setter. The title supplies a base rate and two combiners, as documented in the layout investigation. Part of #505.
What is in it
Tested
Windows 11 build 26300.9974, Core i7-13700K, GeForce RTX 4070 (driver 621.35), Rust 1.94.1 MSVC, DXC 1.9.2602.17. Debug workspace tests and release title smokes.
cargo build --offline --locked --workspaceandcargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4 --nocapture. Final run reported 715 passed, 0 failed, 41 ignored. Two of the 715 returned early for lack of wave64. Optional title-data fixtures had no inputs. An earlier run hit a coherent-bufferVirtualFreeassertion that passed on rerun.SV_ShadingRateas 0 for the default rate and 5 for 2×2 through both slot 124 and slot 126. On the unpatched route the same shifted call yielded 0.Regression run
scripts/smoke.ps1 -Game <retail-folder> -Seconds 60, separately built release binaries with fresh 1920×1080 profiles and networking disabled.Not tested
AMD or tier-1 hardware, a shading-rate image, or a change to the opening story’s appearance or playability.
AI use
OpenAI Codex with GPT-6.2 Sol investigated the call, implemented the routing, and ran the focused and workspace tests. Codex coordinated the review and release smokes.
@mastrr9 on GitHub · 2026-11-24 06:18 UTC · original
Clean-room build, audit, and native hardware test run on NVIDIA RTX 5080 (Windows 11 Pro 25H2
26200.9974, driver617.42/32.0.16.1742,rustc 1.100.0, DXC Windows SDK10.0.26100.0).5c078f554e90fa3b3d8b23b3fc9d57fca26ac454cargo build --workspace): clean (only the pre-existingAtomic::<u32>::fetch_updatedeprecation warning inxgameruntime/mod.rs).cargo test --workspace -- --test-threads=4):715 passed; 0 failed; 41 ignored(SKIPPED: only the 2 hardwareno wave64tests).hle::d3d12x::list_x::vrs_shifted_tests::shifted_vrs_draws_with_requested_rate(VRS tier 2 readback:default=[0,0,0,1],old124=[5,0,0,1],new126=[5,0,0,1], confirming the shifted slot forwards the same 2x2 shading rate)hle::d3d12x::real::shading_rate_slots_cover_both_title_layoutshle::d3d12x::real::queue_tests::queue_slot_18_before_the_layout_is_known_writes_8_bytesQUEUE_LAYOUT_TEST.(Clean-room hardware check only; no retail title or
smoke.ps1run. Assisted-by: Antigravity / Claude Sonnet 5.5 + Gemini 4 Neon)@MesshM on GitHub · 2026-11-24 06:21 UTC · original
Test run of
5c078f554e90fa3b3d8b23b3fc9d57fca26ac454on AMD RDNA4. I merged it onto currentmainbeaa245locally (clean merge) and tested that tree.Tested
stable-x86_64-pc-windows-msvc, debugcargo build --workspace+cargo test --workspace -- --test-threads=4on the merge: 715 passed, 0 failed, 41 ignored, exit code 0;xcllib tests 674 passed; 0SKIPPED.Review: Routes slot 126 of shifted lists to the PC shading-rate setter; this adapter supports VRS, so the GPU readback test had real hardware under it. Reviewed the structure, not every line.
Not tested: no retail title or regression run (I have no unpacked game), release build.
Run and review by Claude Code (Claude Opus 5.5) on this machine.
@dcastell1 on GitHub · 2026-11-24 06:55 UTC · original
Verified on Windows 11 10.0.26300, NVIDIA GeForce RTX 5090 (driver 621.24), Rust 1.100.0 MSVC 14.44.35207, debug build, on
main@beaa245:All green: the forwarded shading rates on shifted lists builds and runs, the workspace has no new failure against
mainon this box (737 passed there), and nothing else changes verdict. Restored the tree afterwards; no game data, hardware adapter, no Wine.AI-assisted (opencode): applied the patch to a built tree, ran the suite, reverted it.
@SlopTart on GitHub · 2026-11-24 07:17 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
5c078f5onto main1ec4c98, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 707 passed, 10 failed, 41 ignored. Failures are the known Wine-lane set from my #42 rows plus #718 trio members; nothing here fails because of your change. Shifted command list shading-rate forwarding tests green; no new failures.Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@DavidM1911 on GitHub · 2026-11-25 10:38 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
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.