From c3719f3b9ba06fa557d7e8ed6b94ad5db3d7baca Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 25 Jan 2021 09:40:50 -0500 Subject: [PATCH] zink: flag gfx pipeline dirty using newer mechanism this wasn't updated during rebases Fixes: 334759d8509 ("zink: implement passthrough tcs shader injection") Reviewed-by: Hoe Hao Cheng Part-of: --- src/gallium/drivers/zink/zink_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_draw.c b/src/gallium/drivers/zink/zink_draw.c index 4b87634..73cd7bd 100644 --- a/src/gallium/drivers/zink/zink_draw.c +++ b/src/gallium/drivers/zink/zink_draw.c @@ -257,7 +257,7 @@ zink_draw_vbo(struct pipe_context *pctx, return; } if (ctx->gfx_pipeline_state.vertices_per_patch != dinfo->vertices_per_patch) - ctx->gfx_pipeline_state.hash = 0; + ctx->gfx_pipeline_state.dirty = true; ctx->gfx_pipeline_state.vertices_per_patch = dinfo->vertices_per_patch; struct zink_gfx_program *gfx_program = get_gfx_program(ctx); if (!gfx_program) -- 2.7.4