i965: Add and use USED_BATCH macro.
authorMatt Turner <mattst88@gmail.com>
Sat, 11 Jul 2015 21:36:25 +0000 (14:36 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 15 Jul 2015 20:09:22 +0000 (13:09 -0700)
commit131573df7aea0b10e97d9d5db0d26d89f8dfef54
tree5d1d7a2937e7cdea71fefc938dbd109bd03b703e
parent09348c12fceba59c22219fe3272260eb8ea6051e
i965: Add and use USED_BATCH macro.

The next patch will replace the .used field with an on-demand
calculation of batchbuffer usage.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/brw_blorp.cpp
src/mesa/drivers/dri/i965/brw_performance_monitor.c
src/mesa/drivers/dri/i965/brw_state_batch.c
src/mesa/drivers/dri/i965/brw_urb.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c
src/mesa/drivers/dri/i965/intel_batchbuffer.h