diff options
| author | 2023-12-23 11:04:02 -0500 | |
|---|---|---|
| committer | 2023-12-23 11:04:02 -0500 | |
| commit | b1d4804c078e64a12692b7fa49f3853a364862dc (patch) | |
| tree | 9bee59d8a17d141de5e731a7cb92a717738376ed /src/video_core/vulkan_common | |
| parent | Merge pull request #12412 from ameerj/gl-query-prims (diff) | |
| download | yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.gz yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.xz yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.zip | |
renderer_vulkan: demote format assert to error log
Diffstat (limited to 'src/video_core/vulkan_common')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index a6fbca69e..727bbd98d 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp | |||
| @@ -755,10 +755,10 @@ VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags | |||
| 755 | // The wanted format is not supported by hardware, search for alternatives | 755 | // The wanted format is not supported by hardware, search for alternatives |
| 756 | const VkFormat* alternatives = GetFormatAlternatives(wanted_format); | 756 | const VkFormat* alternatives = GetFormatAlternatives(wanted_format); |
| 757 | if (alternatives == nullptr) { | 757 | if (alternatives == nullptr) { |
| 758 | ASSERT_MSG(false, | 758 | LOG_ERROR(Render_Vulkan, |
| 759 | "Format={} with usage={} and type={} has no defined alternatives and host " | 759 | "Format={} with usage={} and type={} has no defined alternatives and host " |
| 760 | "hardware does not support it", | 760 | "hardware does not support it", |
| 761 | wanted_format, wanted_usage, format_type); | 761 | wanted_format, wanted_usage, format_type); |
| 762 | return wanted_format; | 762 | return wanted_format; |
| 763 | } | 763 | } |
| 764 | 764 | ||
| @@ -774,10 +774,10 @@ VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags | |||
| 774 | } | 774 | } |
| 775 | 775 | ||
| 776 | // No alternatives found, panic | 776 | // No alternatives found, panic |
| 777 | ASSERT_MSG(false, | 777 | LOG_ERROR(Render_Vulkan, |
| 778 | "Format={} with usage={} and type={} is not supported by the host hardware and " | 778 | "Format={} with usage={} and type={} is not supported by the host hardware and " |
| 779 | "doesn't support any of the alternatives", | 779 | "doesn't support any of the alternatives", |
| 780 | wanted_format, wanted_usage, format_type); | 780 | wanted_format, wanted_usage, format_type); |
| 781 | return wanted_format; | 781 | return wanted_format; |
| 782 | } | 782 | } |
| 783 | 783 | ||