mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
venus: add missing shmem pool fini for cs_shmem pool
This is missed from the fail path. No need to backport since there's nothing leaked from this yet. Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26179>
This commit is contained in:
parent
8ac7d78bf3
commit
9c9e097585
1 changed files with 2 additions and 0 deletions
|
|
@ -710,6 +710,8 @@ vn_CreateInstance(const VkInstanceCreateInfo *pCreateInfo,
|
|||
return VK_SUCCESS;
|
||||
|
||||
fail:
|
||||
vn_renderer_shmem_pool_fini(instance->renderer, &instance->cs_shmem.pool);
|
||||
|
||||
if (instance->ring.shmem) {
|
||||
uint32_t destroy_ring_data[4];
|
||||
struct vn_cs_encoder local_enc = VN_CS_ENCODER_INITIALIZER_LOCAL(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue