Mesa (main): zink: remove extra unsetting of ctx->vertex_state_changed
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 27 02:50:21 UTC 2021
Module: Mesa
Branch: main
Commit: c2aa47a708cf414efd3d7b9c24e44476ba4bdc39
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2aa47a708cf414efd3d7b9c24e44476ba4bdc39
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Wed Jul 28 15:09:11 2021 -0400
zink: remove extra unsetting of ctx->vertex_state_changed
this is already managed in zink_get_gfx_pipeline
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12572>
---
src/gallium/drivers/zink/zink_draw.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/zink/zink_draw.cpp b/src/gallium/drivers/zink/zink_draw.cpp
index 67aa5352719..7ea8c3dd395 100644
--- a/src/gallium/drivers/zink/zink_draw.cpp
+++ b/src/gallium/drivers/zink/zink_draw.cpp
@@ -170,7 +170,6 @@ zink_bind_vertex_buffers(struct zink_batch *batch, struct zink_context *ctx)
elems->hw_state.num_bindings, elems->hw_state.dynbindings,
elems->hw_state.num_attribs, elems->hw_state.dynattribs);
- ctx->vertex_state_changed = false;
ctx->vertex_buffers_dirty = false;
}
More information about the mesa-commit
mailing list