Repository navigation
Conversation
…ts watched Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested this alongside #1847 on Windows 11, Ryzen 7 5700X, RTX 3070 with Dreaming Sarah (PPSA02929), merged onto main AI-assisted: yes. |
|
Closing: #2096 fixes the same regression from 838d02a by keeping write tracking for separate shared aliases. On (AI-assisted: Claude Code.) |
What
Since #1441, Windows host-pointer imports are always compared instead of write-watched. On Windows
APS5_WRITE_WATCH_IMPORTSwas ignored; on Linux it already choosesprobe,watchorunwatch.When a title renders into large imported targets, a comparison cannot prove a target unchanged. Each lookup then stores the image and uploads it again. In PPSA12544 (Hollow Knight: Silksong) on an RTX 5090, gameplay in
tut_01measured:main(compared)APS5_WRITE_WATCH_IMPORTS=watchuntracked)keys,cpu)APS5_PROFILE_GPU)importWatchRequestis now shared by both platforms.watchkeeps imports watched.probe,unwatchand an unset variable keep fix(agc): compare Windows host imports after late driver writes #1441's comparison, since there is no Windows probe. Other values throw, as on Linux.watch, a late driver mark is taken for a CPU store again (AGC: on Windows (NVIDIA) a new host import's pages are marked written after ImportWatched's window, so write-backs drop GPU results #1434). USAGE.md and TechnicalDebt.md say so.APS5_STORE_AT_FLIP=1). In PPSA12544,watchalone crashed whiletut_01loaded (vertex fetch exceeds descriptor record count) after reading stale memory. See the four-way result in feat(agc): store pending storage-image results at each flip with APS5_STORE_AT_FLIP #1995.Tested
importWatchTestsinagc_driver_recorder_tests, run directly:APS5_WRITE_WATCH_IMPORTS=watch: watched. Without the change, this case fails withWindows host imports were compared with APS5_WRITE_WATCH_IMPORTS=watch.ctest: 487 of 488 passed. The failure isagc_driver_pixel_lds, which also fails on unmodifiedmainon this GPU (vkWaitForFences graphics: Vulkan result -4).tools/check_conventions.py --base origin/mainpasses.Conflicts with #1995 only in
docs/user/USAGE.md, where both add a section at the same place. I'll rebase whichever merges second.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 repository (attach them to this PR)🤖 Generated with Claude Code