virgl: set texture buffer offset alignment to disable ARB_texture_buffer_range.
authorDave Airlie <airlied@redhat.com>
Fri, 18 May 2018 00:44:27 +0000 (10:44 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 21 May 2018 02:44:55 +0000 (12:44 +1000)
commitbfa74bb44ddf3e81dedf9af28f86110dfd47dc45
treea3becf80d19605ee3eb66693e59d846357b99688
parent2e6c987a85f96dd96da17b50526e7c0cb5adb5f1
virgl: set texture buffer offset alignment to disable ARB_texture_buffer_range.

The host side hasn't got support for this feature yet, so don't enable it
unless we get the caps from the host.

This makes the texture buffer range piglit tests skip now.

Fixes: fe0647df5a7 (virgl: add offset alignment values to to v2 caps struct)
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/gallium/drivers/virgl/virgl_winsys.h