Files
LibretroAdmin 591480dbb7 Granite: look up the device caches without a lock
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.
2026-10-28 08:21:48 +01:00
..