i965: Reorganize batch/state BO fields into a 'brw_growing_bo' struct.
We're about to add more of them, and need to pass the whole lot of them around together when growing them. Putting them in a struct makes this much easier. brw->batch.batch.bo is a bit of a mouthful, but it's nice to have things labeled 'batch' and 'state' now that we have multiple buffers. Fixes: 2dfc119f "i965: Grow the batch/state buffers if we need space and can't flush." Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103101 Reviewed-by:Ian Romanick <ian.d.romanick@intel.com>
- src/mesa/drivers/dri/i965/brw_context.h 11 additions, 8 deletionssrc/mesa/drivers/dri/i965/brw_context.h
- src/mesa/drivers/dri/i965/brw_misc_state.c 12 additions, 12 deletionssrc/mesa/drivers/dri/i965/brw_misc_state.c
- src/mesa/drivers/dri/i965/brw_sync.c 1 addition, 1 deletionsrc/mesa/drivers/dri/i965/brw_sync.c
- src/mesa/drivers/dri/i965/gen4_blorp_exec.h 1 addition, 1 deletionsrc/mesa/drivers/dri/i965/gen4_blorp_exec.h
- src/mesa/drivers/dri/i965/genX_blorp_exec.c 5 additions, 5 deletionssrc/mesa/drivers/dri/i965/genX_blorp_exec.c
- src/mesa/drivers/dri/i965/genX_state_upload.c 8 additions, 8 deletionssrc/mesa/drivers/dri/i965/genX_state_upload.c
- src/mesa/drivers/dri/i965/intel_batchbuffer.c 59 additions, 57 deletionssrc/mesa/drivers/dri/i965/intel_batchbuffer.c
- src/mesa/drivers/dri/i965/intel_batchbuffer.h 6 additions, 5 deletionssrc/mesa/drivers/dri/i965/intel_batchbuffer.h