projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e983a97
)
virgl: clear vertex_array_dirty
author
Chia-I Wu
<olvaffe@gmail.com>
Thu, 18 Apr 2019 22:10:22 +0000
(15:10 -0700)
committer
Chia-I Wu
<olvaffe@gmail.com>
Mon, 22 Apr 2019 17:19:47 +0000
(10:19 -0700)
Clear vertex_array_dirty after the state is emitted.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/virgl/virgl_context.c
b/src/gallium/drivers/virgl/virgl_context.c
index b07cab7289d6314ad3d800f06354f0af33abac14..69b56bfd0363350e33efae85fd0a7a842eb31205 100644
(file)
--- 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;
}
}