anv/meta_resolve: Fix a bug in the meta pipeline destroy path

This commit is contained in:
Jason Ekstrand 2016-01-27 19:48:43 -08:00
parent 9b240a1e3d
commit 983db2b804
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}