i965: Add enums for 3DSTATE_TE field values.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 12 Nov 2015 03:24:01 +0000 (19:24 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Nov 2015 18:49:18 +0000 (10:49 -0800)
commitb196f1fff31f1528afa84590926c2935d9b0c255
tree7f360bde5737e500772d4d7d2651b95f7562ceb8
parent72e232374eda780a5dcd374b55d203d0e2a6d02b
i965: Add enums for 3DSTATE_TE field values.

3DSTATE_TE has partitioning, output topology, and domain fields,
each of which has several enumerated values.  We'll also need to
switch on the domain, so enums (rather than #defines) seem like a
natural fit.

I chose to put these in brw_compiler.h because they'll be stored
in struct brw_tes_prog_data, which will live there.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_compiler.h