Repository navigation
GPU: track only successful texture refresh stamps - #6
Draft
TinyBiggles wants to merge 1 commit into
Draft
TinyBiggles wants to merge 1 commit into
TinyBiggles wants to merge 1 commit into
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.
AI-assisted draft for this fork. The existing texture staging state retains a write-watch epoch and an unwatched-memory hash independently, and updates each before detiling. If refresh switches paths, an old stamp can incorrectly describe new staging bytes; a failed/partial detile can also leave a stamp marking incomplete staging as current. Use one mutually exclusive stamp for the last successful conversion, invalidate it for unavailable unwatched memory or before attempting conversion, and record the new stamp only after all subresources detile successfully. Two synthetic state-transition tests cover alternating paths and failure/retry. This is separate from Marvisak#641 partial residency, Marvisak#143 safe reads and Marvisak#785 same-list GPU writes; it does not suppress a recorded copy on detile failure or guarantee content correctness in those cases. Windows CI passed. No title data, physical GPU tests or rendering claims. Draft remains unmerged; do not submit upstream without review and authorization.
Verified Windows CI — 2026-11-24
CI run 45385727397 succeeded for
be9b3c3c67717de5d4a3c56f2b54601724813198. Workspace tests: 344 passed, 0 failed, 6 ignored. Regression tests passed:texture_stamp_tracks_only_the_last_successful_source,failed_texture_detile_invalidates_the_previous_stamp. Asset policy: passed. No physical GPU or game testing performed. Draft remains unmerged.