mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
c/client: Require dependency Android Vulkan extensions
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2233>
This commit is contained in:
parent
c439f289d4
commit
909dabf44b
|
@ -33,6 +33,10 @@ const char *xrt_gfx_vk_device_extensions = VK_KHR_DEDICATED_ALLOCATION_EXTENSION
|
|||
|
||||
#elif defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_AHARDWAREBUFFER)
|
||||
" " VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME
|
||||
// AHB deps
|
||||
" " VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME " " VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME
|
||||
// YCbCr conversion deps
|
||||
" " VK_KHR_BIND_MEMORY_2_EXTENSION_NAME " " VK_KHR_MAINTENANCE_1_EXTENSION_NAME
|
||||
|
||||
#elif defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_WIN32_HANDLE)
|
||||
" " VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME
|
||||
|
|
|
@ -58,6 +58,10 @@ static const char *required_device_extensions[] = {
|
|||
|
||||
#elif defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_AHARDWAREBUFFER)
|
||||
VK_ANDROID_EXTERNAL_MEMORY_ANDROID_HARDWARE_BUFFER_EXTENSION_NAME,
|
||||
VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME,
|
||||
VK_KHR_MAINTENANCE_1_EXTENSION_NAME,
|
||||
VK_KHR_BIND_MEMORY_2_EXTENSION_NAME,
|
||||
VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME,
|
||||
|
||||
#elif defined(XRT_GRAPHICS_BUFFER_HANDLE_IS_WIN32_HANDLE)
|
||||
VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME,
|
||||
|
|
Loading…
Reference in a new issue