Repository navigation
Conversation
… guard mismatched copies
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.
Imported from Marvisak#492 for review on this fork.
Upstream source head:
b4d0e4409b812543695821ab7743b9ca8f610790(fromYaekai/VIctory). This commit is directly based on the current fork baseline63bcca43c6a00a758510398fa43096ce7e4f7df0; no commits from main need to be replayed.This is a draft review import only. Please inspect the implementation and tests, resolve any interactions with other review branches, and run the Windows/D3D12 test suite before merging. No local build or hardware validation has been performed by this import.
Integration / correctness review required
The host resource creation fallback has hardware and synthetic-test support, but this is not yet evidence that texture data semantics are preserved end-to-end. Review the 4-byte guest RGB9E5 versus 8-byte RGBA16F host representation through staging uploads, row pitches, copies, readback/copy-back, mip/array subresources, and resource aliasing. Also verify the RGB9E5 implicit/custom SRV component mapping: the format's missing alpha must behave as 1.0, not the substitute RGBA16F alpha. Upstream discussion reports an alpha follow-up commit and a separate bit-preserving alias-copy path; verify the current PR head contains the intended correction and add regression tests. Do not treat this as game-rendering validated.
Verified upstream head contents
I inspected this PR's four-commit history: the current head already includes
ef43b1d(“preserve RGB9E5 SRV components when widened”) and9b994c6(“gate RGB9E5 widening on format support, share sampled views, and guard mismatched copies”). Those fixes are therefore present in this import; they are not missing prerequisites. The remaining review is to validate the actual supported/guarded copy cases and texture upload/readback layouts with targeted regression tests and a native D3D12 integration run.