Skip to content

d3d12: mirror every pixel-visible table the mesh layout rewrites - #163

Merged
brcly merged 1 commit into
brcly:mainfrom
NathansDomainSolutions:fix/mesh-mirror-all-pixel-tables
Nov 25, 2026
Merged

brcly merged 1 commit into
brcly:mainfrom
NathansDomainSolutions:fix/mesh-mirror-all-pixel-tables

Conversation

@NathansDomainSolutions

Copy link
Copy Markdown
Contributor

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_accesses found in that list. The pixel stage then still declared registers such as t6 space1 that 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

AI-assisted: written with Claude Code and reviewed by me.

🤖 Generated with Claude Code

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>
@brcly
brcly merged commit 529c52d into brcly:main Nov 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants