From ea22ef739d897e3778747b2716f319de7119a7eb Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Fri, 23 May 2025 11:04:56 +0200 Subject: [PATCH] Cleanup: Vulkan: Remove explicit feature VVL We should not enable features explicitly. This also prints an info record when using VVL. When you want to enable specific features use vkconfig/vkLoader. Pull Request: https://projects.blender.org/blender/blender/pulls/139324 --- intern/ghost/intern/GHOST_ContextVK.cc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/intern/ghost/intern/GHOST_ContextVK.cc b/intern/ghost/intern/GHOST_ContextVK.cc index ac8838b5f35..98bf04129c1 100644 --- a/intern/ghost/intern/GHOST_ContextVK.cc +++ b/intern/ghost/intern/GHOST_ContextVK.cc @@ -1155,18 +1155,6 @@ GHOST_TSuccess GHOST_ContextVK::initializeDrawingContext() create_info.enabledExtensionCount = uint32_t(extensions_enabled.size()); create_info.ppEnabledExtensionNames = extensions_enabled.data(); - /* VkValidationFeaturesEXT */ - VkValidationFeaturesEXT validationFeatures = {}; - validationFeatures.sType = VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT; - validationFeatures.enabledValidationFeatureCount = 1; - - VkValidationFeatureEnableEXT enabledValidationFeatures[1] = { - VK_VALIDATION_FEATURE_ENABLE_DEBUG_PRINTF_EXT}; - validationFeatures.pEnabledValidationFeatures = enabledValidationFeatures; - if (m_debug) { - create_info.pNext = &validationFeatures; - } - #ifdef __APPLE__ create_info.flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR; #endif