From bae22fec7de0c206bc31413521c8baefefa500ac Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 30 Oct 2025 10:08:49 -0400 Subject: [PATCH] zink: return mesh pipeline when creating mesh pipelines Fixes: b05d93e71ed ("zink: set gfx_pipeline_state::mesh_pipeline when updating pipeline") Part-of: --- src/gallium/drivers/zink/zink_program_state.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_program_state.hpp b/src/gallium/drivers/zink/zink_program_state.hpp index 584ec854d53..a175072e45b 100644 --- a/src/gallium/drivers/zink/zink_program_state.hpp +++ b/src/gallium/drivers/zink/zink_program_state.hpp @@ -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 */