i965: Fix point size with tessellation/geometry shaders in GLES.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 2 Jun 2016 00:32:55 +0000 (17:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Jun 2016 19:22:50 +0000 (12:22 -0700)
commit77d6add00d7f134bf0b033c2aaf59f96a5004548
tree31bb0c458b37511acbd02e93b7f6ce7251ede6ad
parent5d85a21feee0a3cc11b2121b161c097bd8fb6b3f
i965: Fix point size with tessellation/geometry shaders in GLES.

Our previous code worked for desktop GL, and ES without geometry or
tessellation shaders.  But those features require fancier point size
handling.  Fortunately, we can use one rule for all APIs.

Fixes a number of dEQP tests with EXT_tessellation_shader enabled:
dEQP-GLES31.functional.tessellation_geometry_interaction.point_size.*

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c
src/mesa/drivers/dri/i965/gen8_sf_state.c