message: Vulkan: fix `stack-use-after-scope` ASAN error in VulkanContext.cpp
diff: @@ -385,8 +385,8 @@ VkDevice createLogicalDevice(VkPhysicalDevice physicalDevice, const VkPhysicalDe
  // driver/device workarounds).
  void pruneExtensions(VkPhysicalDevice device, InstanceExtensions* instExtensions,
  DeviceExtensions* deviceExtensions) {
  - char* driverInfo = nullptr;
  if (vkGetPhysicalDeviceProperties2KHR) {
  + char* driverInfo = nullptr;
  VkPhysicalDeviceDriverProperties driverProperties = {
  .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES,
  };
  @@ -396,7 +396,6 @@ void pruneExtensions(VkPhysicalDevice device, InstanceExtensions* instExtensions
  };
  vkGetPhysicalDeviceProperties2KHR(device, &physicalDeviceProperties2);
  driverInfo = driverProperties.driverInfo;
  - }
  if (instExtensions->debugUtilsSupported) {
  // Workaround for Mesa drivers. See issue #6192
  @@ -404,6 +403,7 @@ void pruneExtensions(VkPhysicalDevice device, InstanceExtensions* instExtensions
  instExtensions->debugUtilsSupported = false;
  }
  }
  + }
  // debugUtils and debugMarkers extensions are used mutually exclusively.
  if (instExtensions->debugUtilsSupported && deviceExtensions->debugMarkersSupported) {
  