diff options
author | Keith Whitwell <[email protected]> | 2006-09-07 16:23:22 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-09-07 16:23:22 +0000 |
commit | 1456a0fff6a68dac046aaa57585eadf65ad66892 (patch) | |
tree | 0e00c34aa2d3ae1c644e2057a9c92b792c10aba2 /src/mesa/drivers/dri/i965/brw_wm_state.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_wm_state.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_state.c b/src/mesa/drivers/dri/i965/brw_wm_state.c index accf1243ec4..4707a709e77 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_state.c @@ -79,7 +79,7 @@ static void upload_wm_unit(struct brw_context *brw ) */ if (!brw->wm.scratch_buffer) { - bmGenBuffers(intel, "wm scratch", 1, &brw->wm.scratch_buffer); + bmGenBuffers(intel, "wm scratch", 1, &brw->wm.scratch_buffer, 12); bmBufferSetInvalidateCB(intel, brw->wm.scratch_buffer, invalidate_scratch_cb, |