virgl: clear vertex_array_dirty
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>
This commit is contained in:
parent
e983a975c6
commit
e9c5e13344
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue