Mesa (master): zink: flag gfx pipeline dirty using newer mechanism

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 25 18:49:19 UTC 2021


Module: Mesa
Branch: master
Commit: c3719f3b9ba06fa557d7e8ed6b94ad5db3d7baca
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c3719f3b9ba06fa557d7e8ed6b94ad5db3d7baca

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Mon Jan 25 09:40:50 2021 -0500

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 <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8696>

---

 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 4b876347b80..73cd7bdb3a1 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)



More information about the mesa-commit mailing list