From 7bd1a0fb923b700a340d2f2b6c7d80f26cffd9bd Mon Sep 17 00:00:00 2001 From: Sergey Kosarevsky Date: Sat, 2 Dec 2023 14:06:03 -0800 Subject: [PATCH] Do not enable .drawIndirectCount on Mac --- lvk/vulkan/VulkanClasses.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lvk/vulkan/VulkanClasses.cpp b/lvk/vulkan/VulkanClasses.cpp index 0f151563b0..d73c4146c7 100644 --- a/lvk/vulkan/VulkanClasses.cpp +++ b/lvk/vulkan/VulkanClasses.cpp @@ -4498,7 +4498,9 @@ lvk::Result lvk::VulkanContext::initContext(const HWDeviceDesc& desc) { VkPhysicalDeviceVulkan12Features deviceFeatures12 = { .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES, .pNext = &deviceFeatures11, +#ifndef __APPLE__ .drawIndirectCount = VK_TRUE, +#endif .descriptorIndexing = VK_TRUE, .shaderSampledImageArrayNonUniformIndexing = VK_TRUE, .descriptorBindingSampledImageUpdateAfterBind = VK_TRUE,