mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 20:41:50 +01:00
Disable unused Vulkan HPP setters and smart handles
This commit is contained in:
parent
f4e58a9238
commit
1da1698f90
@ -64,6 +64,9 @@ include_directories(SYSTEM "libraries/lz4/lib")
|
||||
add_compile_definitions(VK_USE_PLATFORM_ANDROID_KHR) # We want all the Android-specific structures to be defined
|
||||
add_compile_definitions(VULKAN_HPP_NO_SPACESHIP_OPERATOR) # libcxx doesn't implement operator<=> for std::array which breaks this
|
||||
add_compile_definitions(VULKAN_HPP_NO_STRUCT_CONSTRUCTORS) # We want to use designated initializers in Vulkan-Hpp
|
||||
add_compile_definitions(VULKAN_HPP_NO_SETTERS)
|
||||
add_compile_definitions(VULKAN_HPP_NO_SMART_HANDLE)
|
||||
|
||||
add_compile_definitions(VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1) # We use the dynamic loader rather than the static one to avoid an additional level of indirection
|
||||
add_compile_definitions(VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL=0) # We disable the dynamic loader tool so we can supply our own getInstanceProcAddress function from a custom driver
|
||||
include_directories(SYSTEM "libraries/vkhpp")
|
||||
|
Loading…
Reference in New Issue
Block a user