2025-10-03 20:04:40 +01:00
|
|
|
#if defined(VK_INSTANCE_FUNCTIONS)
|
|
|
|
|
VK_FUNC(EnumeratePhysicalDevices);
|
|
|
|
|
VK_FUNC(GetPhysicalDeviceQueueFamilyProperties);
|
|
|
|
|
VK_FUNC(GetPhysicalDeviceProperties);
|
|
|
|
|
VK_FUNC(CreateDevice);
|
|
|
|
|
VK_FUNC(GetDeviceProcAddr);
|
|
|
|
|
VK_FUNC(GetPhysicalDeviceSurfaceCapabilitiesKHR);
|
|
|
|
|
VK_FUNC(GetPhysicalDeviceSurfaceFormatsKHR);
|
|
|
|
|
|
|
|
|
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
|
|
|
|
VK_FUNC(CreateWin32SurfaceKHR);
|
|
|
|
|
#endif
|
2025-10-03 20:42:04 +01:00
|
|
|
|
|
|
|
|
#if defined(VK_USE_PLATFORM_WAYLAND_KHR)
|
|
|
|
|
VK_FUNC(CreateWaylandSurfaceKHR);
|
|
|
|
|
#endif
|
|
|
|
|
#if defined(VK_USE_PLATFORM_XLIB_KHR)
|
|
|
|
|
VK_FUNC(CreateXlibSurfaceKHR);
|
|
|
|
|
#endif
|
|
|
|
|
|
2025-10-03 20:04:40 +01:00
|
|
|
#undef VK_INSTANCE_FUNCTIONS
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if defined(VK_DEVICE_FUNCTIONS)
|
|
|
|
|
VK_FUNC(GetDeviceQueue);
|
|
|
|
|
VK_FUNC(CreateSwapchainKHR);
|
|
|
|
|
VK_FUNC(GetSwapchainImagesKHR);
|
|
|
|
|
VK_FUNC(CreateImageView);
|
|
|
|
|
VK_FUNC(CreateCommandPool);
|
|
|
|
|
VK_FUNC(CreateSemaphore);
|
|
|
|
|
VK_FUNC(CreateFence);
|
|
|
|
|
VK_FUNC(AllocateCommandBuffers);
|
|
|
|
|
VK_FUNC(WaitForFences);
|
|
|
|
|
VK_FUNC(ResetFences);
|
|
|
|
|
VK_FUNC(ResetCommandPool);
|
|
|
|
|
VK_FUNC(AcquireNextImageKHR);
|
|
|
|
|
VK_FUNC(QueueSubmit);
|
|
|
|
|
VK_FUNC(QueuePresentKHR);
|
|
|
|
|
VK_FUNC(BeginCommandBuffer);
|
|
|
|
|
VK_FUNC(EndCommandBuffer);
|
2025-10-04 00:46:26 +01:00
|
|
|
VK_FUNC(DeviceWaitIdle);
|
2025-10-03 20:04:40 +01:00
|
|
|
|
|
|
|
|
VK_FUNC(CmdPipelineBarrier2);
|
|
|
|
|
VK_FUNC(CmdBeginRendering);
|
|
|
|
|
VK_FUNC(CmdEndRendering);
|
|
|
|
|
#undef VK_DEVICE_FUNCTIONS
|
|
|
|
|
#endif
|