sharpemu/tests/SharpEmu.Libs.Tests/Gpu
kuba ca76f7c8c8 [Gpu] Age cached images by frame, not by guest submission
The image collector runs after every completed guest submission as well as at each flip, and
every run advanced the age it compares against. A title submits dozens of command buffers per
frame, so "unused for 16 ticks" meant a fraction of a frame: every texture sampled once a frame
was deleted and recreated, and Superliminal uploaded 3,591 textures (2.2 GB) every 5 seconds.
Deleting a GPU-written image the cache cannot read back also dropped its contents.

Only a flip now advances the age. Collection after a submission still runs, so memory pressure is
relieved during long stretches without a flip. Superliminal's per-frame uploads went from ~55 to
none, and its intro scene from 12 to 45 fps.
2026-09-30 13:59:51 +02:00
..
Buffers Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
GpuCommands [Agc] Queue the suspend point instead of draining the command stream 2026-09-29 23:20:48 +02:00
Images [Gpu] Age cached images by frame, not by guest submission 2026-09-30 13:59:51 +02:00
Metal Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
Pipelines [Gpu] Compile compute pipelines off the command-stream thread 2026-09-29 23:52:03 +02:00
Rendering Merge #950 (pr/draw-coverage) 2026-09-30 00:12:28 +02:00
Scheduling Alpha Rebuild Progress (#887) 2026-09-20 04:09:27 +03:00
Vulkan Merge #940 (pr/shader-isa-fixes) 2026-09-30 00:12:22 +02:00