fix(win): windows host import texture reuploads #2096
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2096"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by boykopovar on 2026-10-09T08:22:29Z.
What
Preserve CPU write tracking for Windows shared memory imported through a separate Vulkan alias. Avoid redundant texture uploads and write-backs. Retain byte comparisons for imports without reliable tracking.
Tested
Windows, NVIDIA GeForce GTX 1050 Ti Dreaming Sarah: 12fps -> 60 fps
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T08:48:21Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppL1228-1229core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppL292, L413-414docs/dev/TechnicalDebt.mdL249docs/dev/TechnicalDebt.mdL249core/libs/prx/libSceAgcDriver/Execution/src/GuestMemory.cppL1263core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cppL292docs/dev/TechnicalDebt.mdL249docs/dev/TechnicalDebt.mdL248-249Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T09:52:55Z.
Corrected: the device loss below also happens without this PR, though less often. Only the refresh store failure comes from it (commit
0e1d25a8). Measurements are in #2155.Windows run on the driver that shows #1434's late marking. Setup: Windows 10 (19045), RTX 3060 Laptop (NVIDIA 616.92), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Head
3ed0d036merged ontomainb7218b3c.agc_driver_dcc_keys_first_writeandagc_driver_srgb8_color_targetpass 30/30 each, so #1434 stays fixed here.agc_driver_recorder_tests(not in ctest; built with--target) fails 5 of 5.the refresh's store of the results did not reach guest memory(Recorder.cpp:1672,storageRefreshTests). After a draw andimage->Refresh(), the image holds the draw's texels but guest memory doesn't.vkQueueSubmit recorder: Vulkan result -4(VK_ERROR_DEVICE_LOST).mainb7218b3calso hits this, in 1 of 18 runs.No title was run.
🤖 Addressed by Claude Code