mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 23:09:05 +02:00
radv: Update build defines for Windows
Add VK_USE_PLATFORM_WIN32_KHR. Use VK_NO_PROTOTYPES to deal with __declspec(dllexport) mismatch. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7866>
This commit is contained in:
parent
0c70842232
commit
2749258368
1 changed files with 7 additions and 0 deletions
|
|
@ -153,6 +153,13 @@ if with_platform_android
|
|||
]
|
||||
endif
|
||||
|
||||
if with_platform_windows
|
||||
radv_flags += [
|
||||
'-DVK_USE_PLATFORM_WIN32_KHR',
|
||||
'-DVK_NO_PROTOTYPES',
|
||||
]
|
||||
endif
|
||||
|
||||
# When static linking LLVM, all its symbols are public API.
|
||||
# That may cause symbol collision, so explicitly demote everything.
|
||||
libvulkan_radeon_ld_args = []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue