Skip to content

Commit

Permalink
Do not enable .drawIndirectCount on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
corporateshark committed Dec 2, 2023
1 parent e0849d1 commit 7bd1a0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lvk/vulkan/VulkanClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7bd1a0f

Please sign in to comment.