Repository navigation
d3d12: mirror every pixel-visible table the mesh layout rewrites - #163
Merged
brcly merged 1 commit intoNov 25, 2026
Merged
Conversation
The pixel stage is translated against the guest root, so it may read any register of such a table, not only those its guest resource list names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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.t6 space1uncovered-binding class from the previous run disappeared.AI-assisted: written with Claude Code and reviewed by me.
🤖 Generated with Claude Code