Skip to content

Commit

Permalink
rendervulkan: Disable maintenance5 for now
Browse files Browse the repository at this point in the history
Not in a Mesa release yet... Bleh

Only needed for spec compliance
  • Loading branch information
misyltoad committed Sep 24, 2023
1 parent fcdcd86 commit 502f3b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/rendervulkan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,9 @@ bool CVulkanDevice::createDevice()
enabledExtensions.push_back( VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME );

enabledExtensions.push_back( VK_EXT_ROBUSTNESS_2_EXTENSION_NAME );
#if 0
enabledExtensions.push_back( VK_KHR_MAINTENANCE_5_EXTENSION_NAME );
#endif

if ( BIsVRSession() )
{
Expand All @@ -494,14 +496,18 @@ bool CVulkanDevice::createDevice()
#endif
}

#if 0
VkPhysicalDeviceMaintenance5FeaturesKHR maintenance5 = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES_KHR,
.maintenance5 = VK_TRUE,
};
#endif

VkPhysicalDeviceVulkan13Features features13 = {
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES,
#if 0
.pNext = &maintenance5,
#endif
.dynamicRendering = VK_TRUE,
};

Expand Down

0 comments on commit 502f3b3

Please sign in to comment.