summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2019-04-18 15:10:22 -0700
committerChia-I Wu <[email protected]>2019-04-22 10:19:47 -0700
commite9c5e13344c1e798204028a94546b9565dd01c8e (patch)
treecc54432aff4dff21704c04c4e6039806c3a2c92d /src/gallium/drivers/virgl
parente983a975c6843c307380d7caa083eee89e02bd3c (diff)
virgl: clear vertex_array_dirty
Clear vertex_array_dirty after the state is emitted. Signed-off-by: Chia-I Wu <[email protected]> Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl')
-rw-r--r--src/gallium/drivers/virgl/virgl_context.c2
1 files changed, 2 insertions, 0 deletions
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;
}
}