zink: flag gfx pipeline dirty using newer mechanism

this wasn't updated during rebases

Fixes: 334759d850 ("zink: implement passthrough tcs shader injection")

Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8696>
This commit is contained in:
Mike Blumenkrantz
2021-01-25 09:40:50 -05:00
committed by Marge Bot
parent 6fb66d18be
commit c3719f3b9b
+1 -1
View File
@@ -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)