# available.
API_VERSIONS = [
ApiVersion('1.0', True),
+ ApiVersion('1.1', False),
- # FIXME: for now we only support 1.0. We maintain this support from anv just in case in
- # the future we support more that one version supported.
- # ApiVersion('1.1', <condition> ),
]
MAX_API_VERSION = None # Computed later
EXTENSIONS = [
- #FIXME: for now we don't support additional extensions beyond 1.0. Revisit later
+ #Extension('VK_KHR_display', 23, 'VK_USE_PLATFORM_DISPLAY_KHR'),
+ #Extension('VK_KHR_external_memory', 1, True),
+ #TODO: enabling following extension creates compilation problem
+ #Extension('VK_KHR_external_memory_capabilities', 1, True),
+ #Extension('VK_KHR_external_memory_fd', 1, True),
+ Extension('VK_KHR_get_physical_device_properties2', 1, True),
+ #Extension('VK_KHR_get_surface_capabilities2', 1, 'LIBRESOC_HAS_SURFACE'),
+ Extension('VK_KHR_surface', 25, 'LIBRESOC_HAS_SURFACE'),
+ Extension('VK_KHR_swapchain', 68, 'LIBRESOC_HAS_SURFACE'),
+ # Extension('VK_KHR_wayland_surface', 6, 'VK_USE_PLATFORM_WAYLAND_KHR'),
+ Extension('VK_KHR_xcb_surface', 6, 'VK_USE_PLATFORM_XCB_KHR'),
+ Extension('VK_KHR_xlib_surface', 6, 'VK_USE_PLATFORM_XLIB_KHR'),
+ # Extension('VK_EXT_debug_report', 9, True),
+ # Extension('VK_EXT_external_memory_dma_buf', 1, True),
+ # Extension('VK_EXT_image_drm_format_modifier', 1, False),
+
]
# Sort the extension list the way we expect: KHR, then EXT, then vendors