forward precise-flag if supported
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 11 Jul 2018 14:28:30 +0000 (15:28 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 24 Jul 2018 08:27:27 +0000 (10:27 +0200)
commitc3eaf8fe5746e5b29a46a076247ba072c84e2ec5
tree54a84edf43a8114125b85a7e057652ed74daa361
parent6853862a58710bbe13292f352adc560d3c895377
forward precise-flag if supported

New versions of virglrenderer supports the precise-flag, so let's
forward it from TGSI if that's the case.

This fixes a few dEQP-GLES31 tests:
- dEQP-GLES31.functional.tessellation.common_edge.quads_equal_spacing_precise
- dEQP-GLES31.functional.tessellation.common_edge.quads_fractional_even_spacing_precise
- dEQP-GLES31.functional.tessellation.common_edge.quads_fractional_odd_spacing_precise
- dEQP-GLES31.functional.tessellation.common_edge.triangles_equal_spacing_precise
- dEQP-GLES31.functional.tessellation.common_edge.triangles_fractional_even_spacing_precise
- dEQP-GLES31.functional.tessellation.common_edge.triangles_fractional_odd_spacing_precise

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_tgsi.c