virgl: add ARB_tessellation_shader support. (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 8 Jun 2018 04:38:14 +0000 (14:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jun 2018 00:36:31 +0000 (10:36 +1000)
commit7b6f2704eb7333689531cc1572648a31319cb5ac
tree74c0a026138877d905f31562dd79cd80166f127b
parentbabd1d526be4690204964f5e0a42f5df12f7f83b
virgl: add ARB_tessellation_shader support. (v2)

This should add all the pieces to enable tess shaders on virgl.

v2: fixup transform to handle tess and strip out precise.
set default for max patch varyings to work around issue when
tess gets enabled from v1 caps but v2 caps aren't in place. (Elie)

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
src/gallium/auxiliary/tgsi/tgsi_transform.c
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_encode.c
src/gallium/drivers/virgl/virgl_encode.h
src/gallium/drivers/virgl/virgl_protocol.h
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/drivers/virgl/virgl_winsys.h