virgl: make alignment smaller when uploading index user buffers
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 3 Jan 2019 00:27:56 +0000 (16:27 -0800)
committerGert Wollny <gert.wollny@collabora.com>
Fri, 15 Feb 2019 10:19:04 +0000 (11:19 +0100)
commit14f265b533217a9b63c5dbe48c3b326a5cd91d3b
tree6c6d63c1e2cc538f9971120b54b90de8ba302b9f
parent7626e6e18956cac0de9077694c97a388c739bdd0
virgl: make alignment smaller when uploading index user buffers

Since we're just uploading to guest memory, let's just align to dword
size.

Fixes: e0f932 ("u_upload_mgr: pass alignment to u_upload_data manually")
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/virgl/virgl_context.c