summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/buffer9.h
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2016-02-07 12:29:45 +0100
committerAxel Davy <axel.davy@ens.fr>2016-02-12 23:26:36 +0100
commit77d6c11f8fa87ba1070028cb036807dc8a115633 (patch)
treee1b16872220df1c94b7dbc2d790d374e386e13a7 /src/gallium/state_trackers/nine/buffer9.h
parentd7a5468da9796af193e65cd5823525b97dfed2df (diff)
downloadexternal_mesa3d-77d6c11f8fa87ba1070028cb036807dc8a115633.zip
external_mesa3d-77d6c11f8fa87ba1070028cb036807dc8a115633.tar.gz
external_mesa3d-77d6c11f8fa87ba1070028cb036807dc8a115633.tar.bz2
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>
Diffstat (limited to 'src/gallium/state_trackers/nine/buffer9.h')
-rw-r--r--src/gallium/state_trackers/nine/buffer9.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/buffer9.h b/src/gallium/state_trackers/nine/buffer9.h
index 1afd9a9..955b819 100644
--- a/src/gallium/state_trackers/nine/buffer9.h
+++ b/src/gallium/state_trackers/nine/buffer9.h
@@ -60,14 +60,14 @@ NineBuffer9_dtor( struct NineBuffer9 *This );
struct pipe_resource *
NineBuffer9_GetResource( struct NineBuffer9 *This );
-HRESULT WINAPI
+HRESULT NINE_WINAPI
NineBuffer9_Lock( struct NineBuffer9 *This,
UINT OffsetToLock,
UINT SizeToLock,
void **ppbData,
DWORD Flags );
-HRESULT WINAPI
+HRESULT NINE_WINAPI
NineBuffer9_Unlock( struct NineBuffer9 *This );
#endif /* _NINE_BUFFER9_H_ */