summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vulkan/anv_meta.c2
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);
}