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: 9b8c121917 ("zink: flag shaders as needing update when clip_halfz changes")

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9633>
This commit is contained in:
Mike Blumenkrantz
2021-03-16 15:57:52 -04:00
committed by Marge Bot
parent 30cf07cc8a
commit 4b063d636e
+1
View File
@@ -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,