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:
committed by
Marge Bot
parent
30cf07cc8a
commit
4b063d636e
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user