comparison semicongine/rendering/vulkan/api.nim @ 1426:075e4197bc95

add: vulkan debug labels, did: improve build-config
author sam <sam@basx.dev>
date Sat, 11 Jan 2025 12:22:21 +0700
parents 3b8a736c45a7
children
comparison
equal deleted inserted replaced
1425:0daed956cf9e 1426:075e4197bc95
18583 "VK_NV_shader_image_footprint": loadVK_NV_shader_image_footprint, 18583 "VK_NV_shader_image_footprint": loadVK_NV_shader_image_footprint,
18584 "VK_NV_external_memory_capabilities": loadVK_NV_external_memory_capabilities, 18584 "VK_NV_external_memory_capabilities": loadVK_NV_external_memory_capabilities,
18585 "VK_NV_compute_shader_derivatives": loadVK_NV_compute_shader_derivatives, 18585 "VK_NV_compute_shader_derivatives": loadVK_NV_compute_shader_derivatives,
18586 "VK_QCOM_fragment_density_map_offset": loadVK_QCOM_fragment_density_map_offset, 18586 "VK_QCOM_fragment_density_map_offset": loadVK_QCOM_fragment_density_map_offset,
18587 }.toTable 18587 }.toTable
18588 when defined(VK_USE_PLATFORM_XLIB_KHR): 18588
18589 # we only support xlib on linux atm
18590 when defined(linux):
18589 include ./platform/xlib 18591 include ./platform/xlib
18590 EXTENSION_LOADERS["VK_KHR_xlib_surface"] = loadVK_KHR_xlib_surface 18592 EXTENSION_LOADERS["VK_KHR_xlib_surface"] = loadVK_KHR_xlib_surface
18591 when defined(VK_USE_PLATFORM_WIN32_KHR): 18593 when defined(windows):
18592 include ./platform/win32 18594 include ./platform/win32
18593 EXTENSION_LOADERS["VK_KHR_external_semaphore_win32"] = 18595 EXTENSION_LOADERS["VK_KHR_external_semaphore_win32"] =
18594 loadVK_KHR_external_semaphore_win32 18596 loadVK_KHR_external_semaphore_win32
18595 EXTENSION_LOADERS["VK_EXT_full_screen_exclusive"] = loadVK_EXT_full_screen_exclusive 18597 EXTENSION_LOADERS["VK_EXT_full_screen_exclusive"] = loadVK_EXT_full_screen_exclusive
18596 EXTENSION_LOADERS["VK_NV_external_memory_win32"] = loadVK_NV_external_memory_win32 18598 EXTENSION_LOADERS["VK_NV_external_memory_win32"] = loadVK_NV_external_memory_win32