So far we have been caching the first pipeline we produced and always reusing that, which is obviously incorrect.
This change implements a proper cache and also takes care of releasing the cached resources when the device is destroyed.
d6d8bfbb4a7 v3dv: implement proper caching for partial clear pipelines
src/broadcom/vulkan/v3dv_device.c | 46 +++++++++++++++
src/broadcom/vulkan/v3dv_meta_clear.c | 104 +++++++++++++++++++++++-----------
src/broadcom/vulkan/v3dv_private.h | 10 +++-
3 files changed, 126 insertions(+), 34 deletions(-)