llvmpipe: align the array used for subdivived vertices
authorZack Rusin <zackr@vmware.com>
Mon, 23 Sep 2013 21:29:39 +0000 (17:29 -0400)
committerZack Rusin <zackr@vmware.com>
Mon, 23 Sep 2013 22:10:51 +0000 (18:10 -0400)
commite5ec5aef2be4d667a1f28f0ee0105dd6dc204732
treebc6f688684aed5f13d69a086af42322dcfc86371
parentf036d55515bc2b3821d52d16f2211d6c2e21b9a2
llvmpipe: align the array used for subdivived vertices

When subdiving a triangle we're using a temporary array to store
the new coordinates for the subdivided triangles. Unfortunately
the array used for that was not aligned properly causing
random crashes in the llvm jit code which was trying to load
vectors from it.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_setup_tri.c