i965: Handle TCS inputs and TES outputs.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 10 Dec 2015 05:39:27 +0000 (21:39 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 14 Dec 2015 22:48:07 +0000 (14:48 -0800)
commit31140d097a7939e0f917aa76bd37b5c682898e63
tree93793f73c3ff2269254abd4507ab2ae8aa374641
parent1f46163acb4853b3e159e4a0cb91d61c8a348553
i965: Handle TCS inputs and TES outputs.

TES outputs work exactly like VS outputs, so we can simply add a case
statement for those.

TCS inputs are very similar to geometry shaders - they're arrays of
per-vertex data.  We use the same method I used for the scalar GS
backend.

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