diff options
author | Jason Ekstrand <[email protected]> | 2016-01-27 19:48:43 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-27 19:48:43 -0800 |
commit | 983db2b8042ee8ca25a3870767e0d76940011034 (patch) | |
tree | e02576cc85abfd9ea5111f138a418966f4693094 /src/vulkan/anv_meta_resolve.c | |
parent | 9b240a1e3d875c38dce9dbae57de73e03b8690cb (diff) |
anv/meta_resolve: Fix a bug in the meta pipeline destroy path
Diffstat (limited to 'src/vulkan/anv_meta_resolve.c')
-rw-r--r-- | src/vulkan/anv_meta_resolve.c | 2 |
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); } } |