[Mesa-dev] [PATCH 2/5] i965: Turn emit_vertex_buffer_state() into a macro.

Chris Wilson chris at chris-wilson.co.uk
Sat Jul 11 11:03:54 PDT 2015

On Fri, Jul 10, 2015 at 11:44:56AM -0700, Matt Turner wrote:
> Its uses of OUT_BATCH will need a local variable defined by BEGIN_BATCH.
> Increases .text size by 8 bytes.

I don't like having to replace functions with macros, so I would suggest
you pass idx in and then return it from the function instead.

Chris Wilson, Intel Open Source Technology Centre

More information about the mesa-dev mailing list