Loading vulkan/libvulkan/swapchain.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -1174,7 +1174,8 @@ VkResult GetPhysicalDeviceSurfaceFormats2KHR( pSurfaceFormat); if (surfaceCompressionProps && driver.GetPhysicalDeviceImageFormatProperties2KHR) { (driver.GetPhysicalDeviceImageFormatProperties2KHR || driver.GetPhysicalDeviceImageFormatProperties2)) { VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {}; imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; Loading Loading @@ -1205,7 +1206,7 @@ VkResult GetPhysicalDeviceSurfaceFormats2KHR( imageFormatProps.pNext = &compressionProps; VkResult compressionRes = driver.GetPhysicalDeviceImageFormatProperties2KHR( GetPhysicalDeviceImageFormatProperties2( physicalDevice, &imageFormatInfo, &imageFormatProps); if (compressionRes == VK_SUCCESS) { Loading Loading
vulkan/libvulkan/swapchain.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -1174,7 +1174,8 @@ VkResult GetPhysicalDeviceSurfaceFormats2KHR( pSurfaceFormat); if (surfaceCompressionProps && driver.GetPhysicalDeviceImageFormatProperties2KHR) { (driver.GetPhysicalDeviceImageFormatProperties2KHR || driver.GetPhysicalDeviceImageFormatProperties2)) { VkPhysicalDeviceImageFormatInfo2 imageFormatInfo = {}; imageFormatInfo.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2; Loading Loading @@ -1205,7 +1206,7 @@ VkResult GetPhysicalDeviceSurfaceFormats2KHR( imageFormatProps.pNext = &compressionProps; VkResult compressionRes = driver.GetPhysicalDeviceImageFormatProperties2KHR( GetPhysicalDeviceImageFormatProperties2( physicalDevice, &imageFormatInfo, &imageFormatProps); if (compressionRes == VK_SUCCESS) { Loading