summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2014-04-04 04:24:49 +0200
committerRoland Scheidegger <sroland@vmware.com>2014-04-25 19:29:30 +0200
commit2f65f61beac3a45fdf27bf25d7b13cd1fa2bbb8c (patch)
tree0fd689f29b18d35471ae9bd7fe944416bf1af794 /src
parent3a3b1bf60e0ef233a8610684a7472e3600d0e65e (diff)
downloadexternal_mesa3d-2f65f61beac3a45fdf27bf25d7b13cd1fa2bbb8c.zip
external_mesa3d-2f65f61beac3a45fdf27bf25d7b13cd1fa2bbb8c.tar.gz
external_mesa3d-2f65f61beac3a45fdf27bf25d7b13cd1fa2bbb8c.tar.bz2
llvmpipe: (trivial) use correct LP_MIN_VECTOR_ALIGN define for alignment.
Currently it's the same value. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 848a329..b4ce925 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -953,7 +953,7 @@ try_update_scene_state( struct lp_setup_context *setup )
/* Alloc u8_blend_color (16 x i8) and f_blend_color (4 or 8 x f32) */
size = 4 * 16 * sizeof(uint8_t);
size += (LP_MAX_VECTOR_LENGTH / 4) * sizeof(float);
- stored = lp_scene_alloc_aligned(scene, size, LP_MAX_VECTOR_LENGTH);
+ stored = lp_scene_alloc_aligned(scene, size, LP_MIN_VECTOR_ALIGN);
if (!stored) {
assert(!new_scene);