Skip to content

vulkan: Fix entrypoint generation when compiling for x86 with MSVC

Boris Brezillon requested to merge bbrezillon/mesa:vk-ms-entrypoint into main

MSVC uses a name mangling encoding the number of arguments passed to the function when compiling for x86. Public functions should also have an __stdcall specifier (VKAPI_CALL takes care of that).

Fixes: 6d44b21d ("vulkan: Fix weak symbol emulation when compiling with MSVC") Signed-off-by: Boris Brezillon boris.brezillon@collabora.com

This should fix #5551 (closed).

/cc @pal1000 @jenatali @jekstrand

Edited by Boris Brezillon

Merge request reports