v3dv/pipeline: add basic ref counting support for variants
authorAlejandro Piñeiro <apinheiro@igalia.com>
Sat, 18 Jul 2020 00:40:00 +0000 (02:40 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:32 +0000 (21:21 +0000)
commit63b6b633e99dcfbeccd92bbb7fd5f32c55643a07
tree420841f6c5e38b808f702eef528a85be18e9d203
parent2326d5bc04ffd92f44045334ac17e0bb06f62bd6
v3dv/pipeline: add basic ref counting support for variants

As soon as we start to cache variants on pipeline caches, the same
variant could be used by different pipelines and pipeline caches.

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