summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta_resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/anv_meta_resolve.c')
-rw-r--r--src/vulkan/anv_meta_resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_meta_resolve.c b/src/vulkan/anv_meta_resolve.c
index 9fa47949288..30ef727bb06 100644
--- a/src/vulkan/anv_meta_resolve.c
+++ b/src/vulkan/anv_meta_resolve.c
@@ -358,7 +358,7 @@ anv_device_finish_meta_resolve_state(struct anv_device *device)
for (uint32_t i = 0; i < ARRAY_SIZE(state->resolve.pipelines); ++i) {
VkPipeline pipeline_h = state->resolve.pipelines[i];
- if (!pipeline_h) {
+ if (pipeline_h) {
ANV_CALL(DestroyPipeline)(device_h, pipeline_h, alloc);
}
}