st/mesa: MAX_VARYING is the max supported number of patch varyings, not min
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 26 Jan 2017 03:31:58 +0000 (22:31 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Fri, 3 Feb 2017 01:28:58 +0000 (20:28 -0500)
commit7d3f9ed71c71637a91ecf15f50dbe7578a65d57e
treef72698fb71fc184208037b14317e11548eca0ef6
parente73f87fcbdcb12b0b8d28c4ca3444bfb7669bca5
st/mesa: MAX_VARYING is the max supported number of patch varyings, not min

This fixes
GL45-CTS.tessellation_shader.tessellation_shader_tessellation.max_in_out_attributes
on nouveau. We only support 30 patch varyings (as 2 vec4 slots end up
being used for tess level settings), but were getting 32 exposed.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_extensions.c