diff options
author | Jason Ekstrand <[email protected]> | 2015-07-22 17:51:26 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-07-22 17:51:26 -0700 |
commit | b1fcc30ff0b27b4d74f0a3e68846076dd1e22d15 (patch) | |
tree | 5e057df180d500df3842077b1c8f329ea3538b8b /src/vulkan/anv_meta.c | |
parent | 3460e6cb2f8b4424e2b776518a6ad0fc190ecd73 (diff) |
vk/meta: Destroy shader modules
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r-- | src/vulkan/anv_meta.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |