Re: [Mesa-dev] [PATCH] i965: Add enums for 3DSTATE_TE field values.

2015-11-17 Thread Kristian Høgsberg
On Tue, Nov 17, 2015 at 11:16 AM, Kenneth Graunke wrote: > 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

[Mesa-dev] [PATCH] i965: Add enums for 3DSTATE_TE field values.

2015-11-17 Thread Kenneth Graunke
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_d