tombox-xshader, d3d12_xs: Durango user SGPR layout, CBV scalar loads, and pipeline root signature piping #79
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
library
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/omonkeyz--xbox-emulator!79
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/79/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?
@adriaespii on GitHub · 2026-11-22 01:04 UTC · original
adriaespii:contrib/durango-user-sgpr-bindings→main· +195 −12 · 5 files · 87 commits · closed without mergingSummary
Fixes Durango (Xbox One GCN) user SGPR parameter binding, scalar memory loads (\s_load_dword*) from Constant Buffer Views (CBVs), and pipes pipeline \ID3D12RootSignature\ bytecode to graphics and compute translation.
Resolves the Trackmania black window translation blocker where shaders failed with:
\ase sN is not a root table pointer (Desc { table: 0, off: ... })\ and graphics PSOs failed with \pso_ok=0, shaders ok=4 fail=124.
Root Cause & Changes
d(&desc, 0)) via \crate::console_slots_mesh::root_data\ in \CreateGraphicsPipelineState_X\ and \CreateComputePipelineState_X.
Verification
@omonkeyz on GitHub · 2026-11-22 13:12 UTC · original
Main's history was rewritten, which auto-closed this PR (sorry for the noise). Main now has its own Durango user-SGPR path and s_swappc/s_setpc handling. Please rebase onto it and keep only what main still lacks (the root-keyed prefetch cache). Also drop the tb_nrm commit from #77. To resubmit:
git fetchthis repo, branch from the currentmain, cherry-pick only your own commits (the old branch is based on the previous history and cannot be merged), and open a new PR.Pull request closed