Files
parallel-ps2/tests/pgs
libretroadmin 04aff91ebe paraLLEl-GS: a state load writes only the VRAM pages it changes
Defrost wrote the whole 4 MiB of VRAM as a host write, so every page
lost its texture cache and super samples and, on a GPU with VRAM of
its own, was uploaded again, even where the state holds the bytes the
page already has. The state's VRAM is now compared page by page with
what is there and only the runs of changed pages are written; under
runahead, which loads every frame, most pages are unchanged.

pgs_next_changed_run in PGSStateVRAM.h is C89, and tests/pgs holds its
runs against a page-by-page compare, with a control that drops the run
at the end of VRAM.
2026-11-01 16:35:10 +01:00
..