zink: return mesh pipeline when creating mesh pipelines

Fixes: b05d93e71e ("zink: set gfx_pipeline_state::mesh_pipeline when updating pipeline")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38161>
This commit is contained in:
Mike Blumenkrantz 2025-10-30 10:08:49 -04:00 committed by Marge Bot
parent 532a896f80
commit bae22fec7d

View file

@ -294,7 +294,7 @@ zink_get_gfx_pipeline(struct zink_context *ctx,
prog->last_finalized_hash[idx] = final_hash;
prog->last_pipeline[idx] = cache_entry;
}
return state->pipeline;
return IS_MESH ? state->mesh_pipeline : state->pipeline;
}
/* runtime-optimized pipeline state comparisons */