i965: Split batch emission from relocation functions.
authorMatt Turner <mattst88@gmail.com>
Thu, 9 Jul 2015 01:59:51 +0000 (18:59 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 15 Jul 2015 20:09:22 +0000 (13:09 -0700)
commit09348c12fceba59c22219fe3272260eb8ea6051e
treec0665d4a1de844e725d6026be1e367b27b87af3b
parentfbf3aebf1f33fbec559c5b69bdf3b5dec6031612
i965: Split batch emission from relocation functions.

So that everything writing to the batch between BEGIN_BATCH() and
ADVANCE_BATCH() goes through OUT_BATCH.

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