i965: Drop some reserved space remnants.

BATCH_RESERVED was deleted in commit 2c46a67b41 (i965: Delete
BATCH_RESERVED handling.)  The reserved_space field is dead code, and
the comments aren't useful these days.
This commit is contained in:
Kenneth Graunke 2017-11-13 23:52:33 -08:00
parent e48cc01be9
commit 5da2b26dcb
2 changed files with 1 additions and 4 deletions

View File

@ -451,7 +451,6 @@ struct intel_batchbuffer {
#ifdef DEBUG
uint16_t emit, total;
#endif
uint16_t reserved_space;
uint32_t *map_next;
uint32_t *map;
uint32_t *batch_cpu_map;

View File

@ -622,9 +622,7 @@ brw_new_batch(struct brw_context *brw)
* sending it off.
*
* This function can emit state (say, to preserve registers that aren't saved
* between batches). All of this state MUST fit in the reserved space at the
* end of the batchbuffer. If you add more GPU state, increase the reserved
* space by updating the BATCH_RESERVED macro.
* between batches).
*/
static void
brw_finish_batch(struct brw_context *brw)