Repository navigation
Conversation
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.
Candidate for the t5 space3 vs t1 space3 mismatch reported by @gtb-sbe in #233. The inline raw SRV path previously took the register from FSSM/PSV, even when the pipeline root assigned the same physical parameter to a different register. The complete local descriptor construction also selected the single PSV resource without checking the actual root.
For compute with an explicit root, resolve the physical argument only when a unique FSSM used-resource row, independent user-data record and raw PSV row corroborate the root parameter and SGPR. Use the actual root SRV register and space. Do not overwrite another resource's name when spaces differ. Root-less and other-stage paths are unchanged. Missing or conflicting metadata cannot justify a remap.
Validation (base cfc56eb):
I do not have the two recorded shader/root pairs from #233. This fixes a reproduced mechanism matching their reported register discrepancy, not proof that those title shaders now work. If convenient, please test this patch against those two local captured pairs, particularly whether the emitted SRV matches the actual root and DXC/vkd3d accept it. No title files needed in the PR. Independent of provider selection-order work and #241/#246 sampler changes. Draft pending review and additional validation.