From: Chia-I Wu Date: Thu, 18 Apr 2019 22:10:22 +0000 (-0700) Subject: virgl: clear vertex_array_dirty X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9c5e13344c1e798204028a94546b9565dd01c8e;p=mesa.git virgl: clear vertex_array_dirty Clear vertex_array_dirty after the state is emitted. Signed-off-by: Chia-I Wu Reviewed-by: Gurchetan Singh --- diff --git a/src/gallium/drivers/virgl/virgl_context.c b/src/gallium/drivers/virgl/virgl_context.c index b07cab7289d..69b56bfd036 100644 --- a/src/gallium/drivers/virgl/virgl_context.c +++ b/src/gallium/drivers/virgl/virgl_context.c @@ -466,6 +466,8 @@ static void virgl_hw_set_vertex_buffers(struct virgl_context *vctx) virgl_encoder_set_vertex_buffers(vctx, vctx->num_vertex_buffers, vctx->vertex_buffer); virgl_attach_res_vertex_buffers(vctx); + + vctx->vertex_array_dirty = FALSE; } }