message: Vulkan instance: log message when no layers/extensions found
diff: @@ -192,7 +192,9 @@ VulkanInstance::VulkanInstance(const CreateInfo& CI) :
  VERIFY_EXPR(LayerCount == m_Layers.size());
  }
  - if (CI.LogExtensions && !m_Layers.empty())
  + if (CI.LogExtensions)
  + {
  + if (!m_Layers.empty())
  {
  std::stringstream ss;
  for (const auto& Layer : m_Layers)
  @@ -205,14 +207,22 @@ VulkanInstance::VulkanInstance(const CreateInfo& CI) :
  }
  LOG_INFO_MESSAGE("Available Vulkan instance layers: ", ss.str());
  }
  + else
  + {
  + LOG_INFO_MESSAGE("No Vulkan instance layers found");
  + }
  + }
  // Enumerate available instance extensions
  if (!EnumerateInstanceExtensions(nullptr, m_Extensions))
  LOG_ERROR_AND_THROW("Failed to enumerate instance extensions");
  - if (CI.LogExtensions && !m_Extensions.empty())
  + if (CI.LogExtensions)
  {
  + if (!m_Extensions.empty())
  LOG_INFO_MESSAGE("Supported Vulkan instance extensions: ", PrintExtensionsList(m_Extensions, 1));
  + else
  + LOG_INFO_MESSAGE("No Vulkan instance extensions found");
  }
  std::vector<const char*> InstanceExtensions;
  