d3d12: mirror every pixel-visible table the mesh layout rewrites #163
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!163
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/163/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 10:20 UTC · original
NathansDomainSolutions:fix/mesh-mirror-all-pixel-tables→main· +29 −0 · 1 files · 1 commits · merged 2026-11-25 11:10 UTCSummary
Follow-up to #158 (merged before this commit was pushed there).
With #157 the pixel stage of a mesh pipeline is translated against the guest root, so it can read any register of a pixel-visible table, not only the ones its guest resource list names. #158 mirrored only the rewritten tables that
collect_pixel_accessesfound in that list. The pixel stage then still declared registers such ast6 space1that sat in a rewritten (mesh-only) table with no pixel copy, and vkd3d-proton rejected the pipeline with -3.This makes the pixel-only copy for every pixel-visible (ALL or PIXEL) table that the mesh layout rewrites, sized to the whole table.
Checks
build.py d3d12builds;python -m unittest discover -s testsOK.53bb4d6+ #157 + #158): slot 86 mesh failures 3 minutes into a run went from 1,976 (accessed tables only) to 765 with this change. Thet6 space1uncovered-binding class from the previous run disappeared.AI-assisted: written with Claude Code and reviewed by me.
🤖 Generated with Claude Code