anv/meta_resolve: Fix a bug in the meta pipeline destroy path
This commit is contained in:
parent
9b240a1e3d
commit
983db2b804
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue