summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader_cache.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename PAGE_SHIFT to PAGE_BITSMerryMage2020-06-181-5/+5
| | | | macOS header files #define PAGE_SHIFT
* shader_cache: Implement a generic shader cacheReinUsesLisp2020-06-071-0/+228
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.