virgl: Support v2 caps struct (v2)
authorStéphane Marchesin <marcheu@chromium.org>
Sat, 10 Feb 2018 01:21:59 +0000 (17:21 -0800)
committerDave Airlie <airlied@redhat.com>
Tue, 13 Feb 2018 04:23:54 +0000 (14:23 +1000)
commit5e4a2b394eb03d5b49df8d3f2263c65b24ad2bb9
tree0c873e0cd3f25592a749c62f9a07fe0266b1ebdd
parent10457712edb744d358c4b7c891fdaa1a6c136046
virgl: Support v2 caps struct (v2)

This struct allows us to report:
- accurate max point size/line width.
- accurate texel and texture gather offsets
- vertex/geometry limits.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/winsys/virgl/drm/virgl_drm_winsys.c