From: Jason Ekstrand Date: Thu, 23 Jul 2015 00:51:26 +0000 (-0700) Subject: vk/meta: Destroy shader modules X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1fcc30ff0b27b4d74f0a3e68846076dd1e22d15;p=mesa.git vk/meta: Destroy shader modules --- diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index f2629156f3c..8ee7eb012e6 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -141,6 +141,7 @@ anv_device_init_meta_clear_state(struct anv_device *device) }, &device->meta_state.clear.pipeline); + anv_DestroyShaderModule(anv_device_to_handle(device), fsm); anv_DestroyShader(anv_device_to_handle(device), fs); } @@ -476,7 +477,9 @@ anv_device_init_meta_blit_state(struct anv_device *device) }, &device->meta_state.blit.pipeline); + anv_DestroyShaderModule(anv_device_to_handle(device), vsm); anv_DestroyShader(anv_device_to_handle(device), vs); + anv_DestroyShaderModule(anv_device_to_handle(device), fsm); anv_DestroyShader(anv_device_to_handle(device), fs); }