mesa/src/amd/vulkan/meta
Daniel Schürmann c2b9279227 radv: use vk_pipeline_cache
Replaces the RADV pipeline cache with an implementation
based on the common vk_pipeline_cache.

We use a dual-layer approach with two types of cache entries.

  1. radv_shader:
    - serialized as radv_shader_binary
    - uses SHA1 of the binary as key
  2. radv_pipeline_cache_object:
    - contains pointers to associated radv_shaders
    - serialized as list of SHA1
    - uses the pipeline hash as key

In combination with single-file disk-cache, this reduces the cache size by ~60%.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22030>
2023-04-11 11:38:15 +00:00
..
radv_meta.c
radv_meta.h
radv_meta_blit.c
radv_meta_blit2d.c
radv_meta_buffer.c
radv_meta_bufimage.c
radv_meta_clear.c
radv_meta_copy.c
radv_meta_copy_vrs_htile.c
radv_meta_dcc_retile.c
radv_meta_decompress.c
radv_meta_etc_decode.c
radv_meta_fast_clear.c
radv_meta_fmask_copy.c
radv_meta_fmask_expand.c
radv_meta_resolve.c
radv_meta_resolve_cs.c
radv_meta_resolve_fs.c