Loading vulkan/libvulkan/swapchain.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -1225,8 +1225,15 @@ VkResult GetPhysicalDeviceSurfaceFormats2KHR( surfaceCompressionProps ->imageCompressionFixedRateFlags = compressionProps.imageCompressionFixedRateFlags; } else { } else if (compressionRes == VK_ERROR_OUT_OF_HOST_MEMORY || compressionRes == VK_ERROR_OUT_OF_DEVICE_MEMORY) { return compressionRes; } else { // For any of the *_NOT_SUPPORTED errors we continue // onto the next format continue; } } } break; Loading Loading
vulkan/libvulkan/swapchain.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -1225,8 +1225,15 @@ VkResult GetPhysicalDeviceSurfaceFormats2KHR( surfaceCompressionProps ->imageCompressionFixedRateFlags = compressionProps.imageCompressionFixedRateFlags; } else { } else if (compressionRes == VK_ERROR_OUT_OF_HOST_MEMORY || compressionRes == VK_ERROR_OUT_OF_DEVICE_MEMORY) { return compressionRes; } else { // For any of the *_NOT_SUPPORTED errors we continue // onto the next format continue; } } } break; Loading