v3dv/pipeline_cache: bare basic support for pipeline cache
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 4 Jul 2020 11:10:49 +0000 (13:10 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:32 +0000 (21:21 +0000)
commit1d2ae8756f848e6877e3e1c21ff1cb540cc8f9ed
tree126dbe18596ef6750c393c0395e4b584a3b53c32
parentfd70e8e0b019897af691058a3cad04e3f9a85fe6
v3dv/pipeline_cache: bare basic support for pipeline cache

And this means providing a proper cache object, and being able to
load/retrieve a cache data with a proper header. Not really caching
anything yet. That would be tackle on following patches.

Note that this no-op cache got all the specific pipeline_cache and
pipeline.cache tests passing on the rpi4.

The following tests are still crashing when using the simulator:
 dEQP-VK.synchronization.internally_synchronized_objects.pipeline_cache_compute
 dEQP-VK.synchronization.internally_synchronized_objects.pipeline_cache_graphics

But those are an issue of synchronization tests on the simulator, and
not related with the pipeline cache itself. In general synchronization
tests should be tested on the rpi4.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_pipeline_cache.c
src/broadcom/vulkan/v3dv_private.h