Module: Mesa Branch: master Commit: 4b063d636e2f5a0d39da5a08227b7c9ad04e61c7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b063d636e2f5a0d39da5a08227b7c9ad04e61c7
Author: Mike Blumenkrantz <[email protected]> Date: Tue Mar 16 15:57:52 2021 -0400 zink: unset last_vertex_stage_dirty after applying it turns out that having extra flags for stuff isn't that useful if you never reset them Fixes: 9b8c121917d ("zink: flag shaders as needing update when clip_halfz changes") Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9633> --- src/gallium/drivers/zink/zink_draw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/zink/zink_draw.c b/src/gallium/drivers/zink/zink_draw.c index 5f5703ad925..6e7e0cd3b22 100644 --- a/src/gallium/drivers/zink/zink_draw.c +++ b/src/gallium/drivers/zink/zink_draw.c @@ -262,6 +262,7 @@ get_gfx_program(struct zink_context *ctx) ctx->dirty_shader_stages |= BITFIELD_BIT(PIPE_SHADER_TESS_EVAL); else ctx->dirty_shader_stages |= BITFIELD_BIT(PIPE_SHADER_VERTEX); + ctx->last_vertex_stage_dirty = false; } if (ctx->dirty_shader_stages) { struct hash_entry *entry = _mesa_hash_table_search(ctx->program_cache, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
