asahi: Implement a shader disk cache
Mesa provides core infrastructure for caching compiled shaders on disk. Your task is to plumb it into Asahi.
You may find 40372bd7 ("panfrost: Implement a disk cache") instructive, as the architecture of Panfrost is similar to Asahi in many ways.
Other helpful references include src/gallium/drivers/iris/iris_disk_cache.c
, src/gallium/drivers/lima/lima_disk_cache.c
, and of course src/util/disk_cache.*
.
As usual see https://rosenzweig.io/AlyssasDriverSurvivalGuide.txt for first task help.