virgl: respect max_vertex_attrib_stride cap
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 17 Jul 2018 05:43:57 +0000 (15:43 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Jul 2018 05:45:37 +0000 (15:45 +1000)
commit591b7009440cef9fa0dd3bc09512a7a2906ef33d
treeedb5687794d5056b6656d003990a6e40ff02ccb5
parent04e278f79334c36f2afa315d3dcfcbec055a4d2a
virgl: respect max_vertex_attrib_stride cap

This is required for OpenGL 4.4 and OpenGL ES 3.1 support.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/drivers/virgl/virgl_winsys.h