Re: [Mesa-dev] [PATCH] i965: Move enums to brw_compiler.h.

2017-05-02 Thread Jason Ekstrand
While we're at it, we could make the fields in brw_wm_prog_data::computed_depth_mode use the actual enum type. On Tue, May 2, 2017 at 10:26 AM, Jason Ekstrand wrote: > Reviewed-by: Jason Ekstrand > > On Tue, May 2, 2017 at 9:29 AM, Rafael Antognolli < > rafael.antogno...@intel.com> wrote: > >>

Re: [Mesa-dev] [PATCH] i965: Move enums to brw_compiler.h.

2017-05-02 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Tue, May 2, 2017 at 9:29 AM, Rafael Antognolli < rafael.antogno...@intel.com> wrote: > These enums live inside struct brw_wm_prog_data, so it makes sense to > keep them in the same header. It also allows to use them without > including brw_eu_defines.h. > > Signed-

[Mesa-dev] [PATCH] i965: Move enums to brw_compiler.h.

2017-05-02 Thread Rafael Antognolli
These enums live inside struct brw_wm_prog_data, so it makes sense to keep them in the same header. It also allows to use them without including brw_eu_defines.h. Signed-off-by: Rafael Antognolli --- src/intel/compiler/brw_compiler.h | 21 + src/intel/compiler/brw_eu_define