i965: Create and set a new brw_tcs_prog_data::outputs_written field.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 18 Dec 2015 05:39:28 +0000 (21:39 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Dec 2015 01:22:06 +0000 (17:22 -0800)
commit2432643e89ece4ed642db7ec8d811e724d1e8a35
tree1b359d768575faa325e0aa6ecae01973fa58f8c9
parent239a4bdcd44529e9495d9e68cf5a157421753b3c
i965: Create and set a new brw_tcs_prog_data::outputs_written field.

When the application hasn't supplied a TCS, and we have to create one,
we need to know what VS outputs to copy to TES inputs.

To do this, we create a new program key field, and set it to the TES
InputsRead bitfield.

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