aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader_cache.h
AgeCommit message (Collapse)Author
2020-06-18Rename PAGE_SHIFT to PAGE_BITSMerryMage
macOS header files #define PAGE_SHIFT
2020-06-07shader_cache: Implement a generic shader cacheReinUsesLisp
Implement a generic shader cache for fast lookups and invalidations. Invalidations are cheap but expensive when a shader is invalidated. Use two mutexes instead of one to avoid locking invalidations for lookups and vice versa. When a shader has to be removed, lookups are locked as expected.