diff options
author | Liam <byteslice@airmail.cc> | 2023-12-23 17:04:02 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-12-23 17:04:02 +0100 |
commit | b1d4804c078e64a12692b7fa49f3853a364862dc (patch) | |
tree | 9bee59d8a17d141de5e731a7cb92a717738376ed /src/video_core | |
parent | Merge pull request #12412 from ameerj/gl-query-prims (diff) | |
download | yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.gz yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.bz2 yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.lz yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.xz yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.tar.zst yuzu-b1d4804c078e64a12692b7fa49f3853a364862dc.zip |
Diffstat (limited to 'src/video_core')
-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 // The wanted format is not supported by hardware, search for alternatives const VkFormat* alternatives = GetFormatAlternatives(wanted_format); if (alternatives == nullptr) { - ASSERT_MSG(false, - "Format={} with usage={} and type={} has no defined alternatives and host " - "hardware does not support it", - wanted_format, wanted_usage, format_type); + LOG_ERROR(Render_Vulkan, + "Format={} with usage={} and type={} has no defined alternatives and host " + "hardware does not support it", + wanted_format, wanted_usage, format_type); return wanted_format; } @@ -774,10 +774,10 @@ VkFormat Device::GetSupportedFormat(VkFormat wanted_format, VkFormatFeatureFlags } // No alternatives found, panic - ASSERT_MSG(false, - "Format={} with usage={} and type={} is not supported by the host hardware and " - "doesn't support any of the alternatives", - wanted_format, wanted_usage, format_type); + LOG_ERROR(Render_Vulkan, + "Format={} with usage={} and type={} is not supported by the host hardware and " + "doesn't support any of the alternatives", + wanted_format, wanted_usage, format_type); return wanted_format; } |