xshader, d3d12: link mesh programs to their pixel consumer #150
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/brcly--TuxBox!150
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/150/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?
@NathansDomainSolutions on GitHub · 2026-11-25 08:02 UTC · original
NathansDomainSolutions:fix/mesh-pixel-link→main· +107 −11 · 6 files · 2 commits · merged 2026-11-25 08:34 UTCSummary
Mesh shaders are ProjectScarlett's main geometry path (3,240 recorded mesh requests against 2,114 vertex shaders). Desktop drivers reject a mesh/pixel pipeline when the two signatures disagree on register, mask or component type. vkd3d reports
Input signature element ... not compatible with ..., Device11 slot 86 then returnsE_INVALIDARG, and the draw is lost.#117 and #119 reconcile vertex→pixel links. This PR covers mesh→pixel links, which upstream doesn't handle yet:
.linkrequest with the mesh as producer, as it already does for vertex and geometry programs. xshader gives the mesh vertex and primitive outputs the consumer's component types and declares them in the consumer's register order.ms_6_5/ms_6_6are allowed for linked requests.Failed to remap CBV 1:22-style errors. The pixel stage is now translated with the pipeline's guest root signature.Checks
cargo testfor tools/shader-compiler (x86_64-unknown-linux-gnu): 197 passed.python -m unittest discover -s tests: 264 tests OK.build.py d3d12builds.This may also cover the
Failed to remap SRV/CBV 1:Nclass JeffreyBytes reported on RADV in #1.AI-assisted: written with Claude Code and reviewed by me.
🤖 Generated with Claude Code