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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user