Repository navigation
Test build: storage-image write-back fixes combined (do not merge) - #5761
Closed
oneandonlydean wants to merge 8 commits into
Closed
oneandonlydean wants to merge 8 commits into
oneandonlydean wants to merge 8 commits into
Conversation
…ves the write watch On Windows the write watch is dropped in whole 64 KiB blocks (WriteWatchCoverage::Exclude), but the unwatch hook was given the page range of the import. An image with results pending in the same block as an imported page, outside that page, lost the watch without its guest bytes saved, and storing its results threw. The hook now gets the span of blocks Exclude drops (ExcludedSpan, the same block math), so every image with results pending in those blocks saves its bytes first.
…en results land outside the write watch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…es not cover
A fill turned into an image clear or an image copy invalidated the saved
guest bytes of every unit of each other image over its range. The flush
before it stores only the units it overlaps, so results still pending in
the other units lost their saved bytes, and storing them over memory
outside the write watch threw ("storing storage image results pending
over memory outside the write watch without the guest bytes saved before
them is not implemented").
Only the units over the filled or copied range lose their saved bytes now;
the others are compared with them at their store as before.
A write-back stored on the GPU over memory outside the write watch left its units without saved guest bytes (only the CPU path saved them), so the next store of results landing there threw (boykopovar#5711), and every refresh re-uploaded the image. The stored ranges are now copied from the retile scratch into a host-visible buffer behind the store and become the saved bytes when the batch completes; a store or refresh that needs them first syncs that batch. Units without a write generation pending when their range leaves the watch save their bytes there too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VuBhHz31iDFifpyLeqz8TB
…n-1014 # Conflicts: # core/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cpp # docs/dev/debt/libSceAgcDriver.md
…at save when results land Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VuBhHz31iDFifpyLeqz8TB
11 tasks done
This was referenced Oct 14, 2026
This was referenced Oct 14, 2026
This was referenced Oct 14, 2026
11 tasks done
This was referenced Oct 15, 2026
12 tasks done
This was referenced Oct 15, 2026
This was referenced Oct 15, 2026
Closed
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.
Test build only, not for merging. One build of
mainwith #5671, #5679, #5707 and #5760 applied together, for the Windows reports of the storage-image write-back throw since #5596:(#361, #5693, #5711, and the Stellar Blade, Sifu, Palworld and Super Meat Boy 3D reports). The Windows artifact of the full build linked below is the one to try. Each fix goes in through its own PR; this closes once they are in.