rendervulkan: Add log for nested swapchain created

This commit is contained in:
Joshua Ashton 2023-10-18 08:00:23 -07:00
parent 171a6498c0
commit 62e2d45eed

View file

@ -2802,6 +2802,8 @@ bool vulkan_make_swapchain( VulkanOutput_t *pOutput )
.pViewFormats = formats,
};
vk_log.infof("Creating Gamescope nested swapchain with format %u and colorspace %u", pOutput->outputFormat, pOutput->surfaceFormats[surfaceFormat].colorSpace);
VkSwapchainCreateInfoKHR createInfo = {
.sType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR,
.pNext = formats[0] != formats[1] ? &usageListInfo : nullptr,