i965: Move brw_state_batch code to intel_batchbuffer.c
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Aug 2017 08:40:00 +0000 (01:40 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Sep 2017 23:17:36 +0000 (16:17 -0700)
commit1bc44e0e7fa724e11fc35a893e3d6076024b8327
tree356181944db6362aceef6a2305834bb8e2b4d306
parent3b812e62a19859c9cb28455ac4195fa1365ce9e1
i965: Move brw_state_batch code to intel_batchbuffer.c

The batch buffer and state buffer code is fairly tied together,
and having it in one .c file will make refactoring easier.

Also, drop some commentary above brw_state_batch.  The "aperture
checking performance hacks" are long since gone, so that paragraph
makes little sense at this point.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_batch.c [deleted file]
src/mesa/drivers/dri/i965/intel_batchbuffer.c