diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-07 16:23:22 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-09-07 16:23:22 +0000 |
commit | 1456a0fff6a68dac046aaa57585eadf65ad66892 (patch) | |
tree | 0e00c34aa2d3ae1c644e2057a9c92b792c10aba2 /src/mesa/drivers/dri/i965/brw_state_pool.c | |
parent | 133f14168009393c5f396d218521625cb79b653f (diff) |
Use lower alignments where possible. Also pad out allocated blocks to
a multiple of alignment to avoid accumulating unusable free blocks.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_state_pool.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_pool.c b/src/mesa/drivers/dri/i965/brw_state_pool.c index 60565bf83c..2b469638cf 100644 --- a/src/mesa/drivers/dri/i965/brw_state_pool.c +++ b/src/mesa/drivers/dri/i965/brw_state_pool.c @@ -95,7 +95,7 @@ static void brw_init_pool( struct brw_context *brw, pool->size = size; pool->brw = brw; - bmGenBuffers(&brw->intel, "pool", 1, &pool->buffer); + bmGenBuffers(&brw->intel, "pool", 1, &pool->buffer, 0); /* Also want to say not to wait on fences when data is presented */ |