mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
anv/meta_resolve: Fix a bug in the meta pipeline destroy path
This commit is contained in:
parent
9b240a1e3d
commit
983db2b804
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue