diff options
author | Jason Ekstrand <[email protected]> | 2015-08-25 18:51:26 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-08-25 18:51:26 -0700 |
commit | 74e076bba807884f9bbc14c1b2ad8cf501c7ed1f (patch) | |
tree | e7c0dbcd4775831631a0f36dc31e95ea8d2104ca /src/vulkan/anv_meta.c | |
parent | 4bb9915755f6066f24b826cb323739dbebe7dba5 (diff) |
vk/meta: Destroy vertex shaders when setting up clearing
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r-- | src/vulkan/anv_meta.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |