Skip to content
Snippets Groups Projects
Commit a63104a7 authored by Boris Brezillon's avatar Boris Brezillon Committed by Eric Engestrom
Browse files

vulkan: Fix entrypoint generation when compiling for x86 with MSVC


When compiling for x86 with MSVC, Vulkan API entry points follow the
__stdcall convention (VKAPI_CALL maps to __stdcall), which uses the
following name mangling:

   _<function_name>@<arguments_size>

Fix the vk_entrypoint_stub()/alternatename definitions accordingly.

Fixes: 6d44b21d ("vulkan: Fix weak symbol emulation when compiling with MSVC")
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jesse Natalie's avatarJesse Natalie <jenatali@microsoft.com>
Part-of: <!13516>
(cherry picked from commit 1813bb59)
parent 73401101
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment