From 8c4310384e652c19eed394d6b8733b7682190e5e Mon Sep 17 00:00:00 2001 From: Wunk Date: Thu, 10 Sep 2026 07:53:18 -0700 Subject: [PATCH] renderer_vulkan: Allow instance creation in systems with no layers. (#2528) --- src/video_core/renderer_vulkan/vk_platform.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/video_core/renderer_vulkan/vk_platform.cpp b/src/video_core/renderer_vulkan/vk_platform.cpp index 67b8a50f6..b0a800e6f 100644 --- a/src/video_core/renderer_vulkan/vk_platform.cpp +++ b/src/video_core/renderer_vulkan/vk_platform.cpp @@ -330,8 +330,7 @@ vk::UniqueInstance CreateInstance(const Common::DynamicLibrary& library, // Sanitize layers list const auto layer_properties = vk::enumerateInstanceLayerProperties(); if (layer_properties.empty()) { - LOG_ERROR(Render_Vulkan, "Failed to query layer properties"); - return {}; + LOG_WARNING(Render_Vulkan, "Instance layer properties list is empty"); } boost::container::erase_if(layers, [&](const char* layer) -> bool {