summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/device9video.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-02-07 12:29:45 +0100
committerAxel Davy <[email protected]>2016-02-12 23:26:36 +0100
commit77d6c11f8fa87ba1070028cb036807dc8a115633 (patch)
treee1b16872220df1c94b7dbc2d790d374e386e13a7 /src/gallium/state_trackers/nine/device9video.c
parentd7a5468da9796af193e65cd5823525b97dfed2df (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/device9video.c')
-rw-r--r--src/gallium/state_trackers/nine/device9video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/nine/device9video.c b/src/gallium/state_trackers/nine/device9video.c
index 65cc6a05c68..2e8e94a26e7 100644
--- a/src/gallium/state_trackers/nine/device9video.c
+++ b/src/gallium/state_trackers/nine/device9video.c
@@ -24,7 +24,7 @@
#define DBG_CHANNEL DBG_DEVICEVIDEO
-HRESULT WINAPI
+HRESULT NINE_WINAPI
NineDevice9Video_GetContentProtectionCaps( struct NineDevice9Video *This,
const GUID *pCryptoType,
const GUID *pDecodeProfile,
@@ -33,7 +33,7 @@ NineDevice9Video_GetContentProtectionCaps( struct NineDevice9Video *This,
STUB(D3DERR_INVALIDCALL);
}
-HRESULT WINAPI
+HRESULT NINE_WINAPI
NineDevice9Video_CreateAuthenticatedChannel( struct NineDevice9Video *This,
D3DAUTHENTICATEDCHANNELTYPE ChannelType,
IDirect3DAuthenticatedChannel9 **ppAuthenticatedChannel,
@@ -42,7 +42,7 @@ NineDevice9Video_CreateAuthenticatedChannel( struct NineDevice9Video *This,
STUB(D3DERR_INVALIDCALL);
}
-HRESULT WINAPI
+HRESULT NINE_WINAPI
NineDevice9Video_CreateCryptoSession( struct NineDevice9Video *This,
const GUID *pCryptoType,
const GUID *pDecodeProfile,