mirror of
https://github.com/libretro/parallel-ps2.git
synced 2026-11-09 17:28:25 -10:00
Shaders, programs and their pipelines, pipeline layouts, descriptor set allocators, render passes and immutable samplers now live in an insert-only map of pointers: a slot is claimed with one CAS, a lookup is acquire loads that never wait, and a full segment is sealed and a larger one put in front of it - nothing is copied, moved or freed before the device goes. The read-only cache lock, its promotion and the lock every command buffer held for its lifetime are gone. tests/pgscache races inserts and lookups on the map while it grows.