From: Jason Ekstrand Date: Wed, 26 Aug 2015 01:51:26 +0000 (-0700) Subject: vk/meta: Destroy vertex shaders when setting up clearing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74e076bba807884f9bbc14c1b2ad8cf501c7ed1f;p=mesa.git vk/meta: Destroy vertex shaders when setting up clearing --- diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index 858a3daf11c..cdd357ddcc9 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -187,7 +187,9 @@ anv_device_init_meta_clear_state(struct anv_device *device) }, &device->meta_state.clear.pipeline); + anv_DestroyShaderModule(anv_device_to_handle(device), vsm); anv_DestroyShaderModule(anv_device_to_handle(device), fsm); + anv_DestroyShader(anv_device_to_handle(device), vs); anv_DestroyShader(anv_device_to_handle(device), fs); }