i965: Convert brw->batch.is_blit to a BLT_RING/RENDER_RING enum.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 28 Oct 2013 23:06:10 +0000 (16:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Nov 2013 23:01:13 +0000 (15:01 -0800)
commit6bc40f9af5b35724caff9fa7ced47b2ca6183f22
treeb998c16cdaafcea8ce8f20f9f056dd9408e26380
parent28d7b4147d4048031dd1a99c0858472912ea7e7e
i965: Convert brw->batch.is_blit to a BLT_RING/RENDER_RING enum.

Passing BLT_RING or RENDER_RING to batchbuffer functions is a lot more
obvious than passing true or false.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h
src/mesa/drivers/dri/i965/intel_blit.c