st/nine: Align stack for entry points
authorAxel Davy <axel.davy@ens.fr>
Sun, 7 Feb 2016 11:29:45 +0000 (12:29 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 12 Feb 2016 22:26:36 +0000 (23:26 +0100)
commit77d6c11f8fa87ba1070028cb036807dc8a115633
treee1b16872220df1c94b7dbc2d790d374e386e13a7
parentd7a5468da9796af193e65cd5823525b97dfed2df
st/nine: Align stack for entry points

For 32 bits, incoming stack is 4-byte aligned.
We need to realign the stack to 16-byte at some point,
or there are issues later (crash with SSE, llvm, etc).

This patch chooses to align the stack at API entry points.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
53 files changed:
src/gallium/state_trackers/nine/Makefile.sources
src/gallium/state_trackers/nine/adapter9.c
src/gallium/state_trackers/nine/adapter9.h
src/gallium/state_trackers/nine/authenticatedchannel9.c
src/gallium/state_trackers/nine/authenticatedchannel9.h
src/gallium/state_trackers/nine/basetexture9.c
src/gallium/state_trackers/nine/basetexture9.h
src/gallium/state_trackers/nine/buffer9.c
src/gallium/state_trackers/nine/buffer9.h
src/gallium/state_trackers/nine/cryptosession9.c
src/gallium/state_trackers/nine/cryptosession9.h
src/gallium/state_trackers/nine/cubetexture9.c
src/gallium/state_trackers/nine/cubetexture9.h
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/device9.h
src/gallium/state_trackers/nine/device9ex.c
src/gallium/state_trackers/nine/device9ex.h
src/gallium/state_trackers/nine/device9video.c
src/gallium/state_trackers/nine/device9video.h
src/gallium/state_trackers/nine/indexbuffer9.c
src/gallium/state_trackers/nine/indexbuffer9.h
src/gallium/state_trackers/nine/iunknown.c
src/gallium/state_trackers/nine/iunknown.h
src/gallium/state_trackers/nine/nine_flags.h [new file with mode: 0644]
src/gallium/state_trackers/nine/nine_lock.c
src/gallium/state_trackers/nine/nineexoverlayextension.c
src/gallium/state_trackers/nine/nineexoverlayextension.h
src/gallium/state_trackers/nine/pixelshader9.c
src/gallium/state_trackers/nine/pixelshader9.h
src/gallium/state_trackers/nine/query9.c
src/gallium/state_trackers/nine/query9.h
src/gallium/state_trackers/nine/resource9.c
src/gallium/state_trackers/nine/resource9.h
src/gallium/state_trackers/nine/stateblock9.c
src/gallium/state_trackers/nine/stateblock9.h
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/surface9.h
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/nine/swapchain9.h
src/gallium/state_trackers/nine/swapchain9ex.c
src/gallium/state_trackers/nine/swapchain9ex.h
src/gallium/state_trackers/nine/texture9.c
src/gallium/state_trackers/nine/texture9.h
src/gallium/state_trackers/nine/vertexbuffer9.c
src/gallium/state_trackers/nine/vertexbuffer9.h
src/gallium/state_trackers/nine/vertexdeclaration9.c
src/gallium/state_trackers/nine/vertexdeclaration9.h
src/gallium/state_trackers/nine/vertexshader9.c
src/gallium/state_trackers/nine/vertexshader9.h
src/gallium/state_trackers/nine/volume9.c
src/gallium/state_trackers/nine/volume9.h
src/gallium/state_trackers/nine/volumetexture9.c
src/gallium/state_trackers/nine/volumetexture9.h