diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_batchbuffer.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 38f9b5fc670..92fc16de136 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -449,7 +449,6 @@ struct intel_batchbuffer { uint32_t *map_next; uint32_t *map; uint32_t *cpu_map; -#define BATCH_SZ (8192*sizeof(uint32_t)) uint32_t state_batch_offset; enum brw_gpu_ring ring; diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c index 370400ab484..73cf2528272 100644 --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c @@ -40,6 +40,8 @@ #define FILE_DEBUG_FLAG DEBUG_BUFMGR +#define BATCH_SZ (8192*sizeof(uint32_t)) + static void intel_batchbuffer_reset(struct intel_batchbuffer *batch, struct brw_bufmgr *bufmgr, |