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
This commit is contained in:
Jeroen Bakker
2025-05-23 11:04:56 +02:00
parent 363eff4f59
commit ea22ef739d

View File

@@ -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