Re: [Mesa-dev] [PATCH 30/35] i965: Port gen6+ emit vertices code to genxml.

2017-04-20 Thread Kenneth Graunke
On Wednesday, April 19, 2017 4:56:23 PM PDT Rafael Antognolli wrote: [snip] > +#ifndef NDEBUG > +static bool > +is_passthru_format(uint32_t format) Wrapping this in ifndef NDEBUG breaks release builds - for example, genX(uploads_needed) uses it outside of an assertion. If you want to shut up warn

[Mesa-dev] [PATCH 30/35] i965: Port gen6+ emit vertices code to genxml.

2017-04-19 Thread Rafael Antognolli
The original brw_emit_vertices code is left intact for now, as it is still used by gen4-5. We are bringing all the code to genX_state_upload.c, and gen4-5 state emitting code is left on a separate file. Signed-off-by: Rafael Antognolli --- src/mesa/drivers/dri/i965/brw_state.h | 1 +-