This commit is contained in:
Kbz-8
2024-09-13 23:51:01 +02:00
parent 6eaf871d45
commit 77bfe4ff11
2 changed files with 512 additions and 274 deletions

View File

@@ -42,6 +42,9 @@ namespace mlx
Window window(1, 1, "", true);
std::vector<const char*> instance_extentions = window.GetRequiredVulkanInstanceExtentions();
#ifdef MLX_PLAT_MACOS
instance_extentions.push_back(VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME);
#endif
m_instance = kvfCreateInstance(instance_extensions.data(), instance_extensions.size());
DebugLog("Vulkan : instance created");

783
third_party/kvf.h vendored

File diff suppressed because it is too large Load Diff