st/nine: Align texture memory
authorPatrick Rudolph <siro@das-labor.org>
Tue, 12 May 2015 05:27:37 +0000 (07:27 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:45 +0000 (22:21 +0200)
commit886227d363b7e889e2a9162c27059e2a9fe79cb7
treee3c955ea39f28f40fa725b7859ee10b6a6e3f88c
parent3c4864fa5539d6b34863c28f3650289fd2a4ce93
st/nine: Align texture memory

Align texture memory on 32 byte boundry to allow
SSE/AVX memcpy to work on locked rects.

This fixes some crashes with games using SSE.

Reviewed-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/cubetexture9.c
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/texture9.c
src/gallium/state_trackers/nine/volume9.c