nvc0: fix setting of tess_mode in various situations
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 21 May 2016 20:16:50 +0000 (16:16 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 22 May 2016 15:58:22 +0000 (11:58 -0400)
commit9f19ccff9c7fe375a9fff5cc54e5488f59f638a8
tree19d90d9c56e0a62415e93cd8b20c6e3892c758cd
parentd6edae70901dba4b96358bfc467534466060ef0a
nvc0: fix setting of tess_mode in various situations

This fixes a lot of INVALID_VALUE errors reported by the card when
running dEQP tests.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_program.c