i965: Make TCS precompile use the TES primitive mode when available.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Jan 2016 06:27:22 +0000 (22:27 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 3 Jan 2016 02:46:16 +0000 (18:46 -0800)
commit28dea2662699072715f67ef34e910d278f88f3b1
treeb8391e94374696364dc7e8cf57311ce65fa03995
parent4a1c8a3037cd29938b2a6e2c680c341e9903cfbe
i965: Make TCS precompile use the TES primitive mode when available.

If there's a linked TES program, we should just use the actual
primitive mode.  If not, just guess triangles (as we did before).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_tcs.c