summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-07-27 02:21:37 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-07-27 02:21:37 +0200
commit26658c2e9324eb7007f882c78e7bf4e2d1ce4473 (patch)
treecbb1e95333aec13c28090d7fc8ae364653b21822
parentMerge pull request #11128 from german77/discord (diff)
downloadyuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.tar
yuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.tar.gz
yuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.tar.bz2
yuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.tar.lz
yuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.tar.xz
yuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.tar.zst
yuzu-26658c2e9324eb7007f882c78e7bf4e2d1ce4473.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index e04852e01..f84c1e00c 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -745,7 +745,7 @@ bool Device::TestDepthStencilBlits() const {
const auto test_features = [](VkFormatProperties props) {
return (props.optimalTilingFeatures & required_features) == required_features;
};
- return test_features(format_properties.at(VK_FORMAT_D32_SFLOAT_S8_UINT)) &&
+ return test_features(format_properties.at(VK_FORMAT_D32_SFLOAT_S8_UINT)) ||
test_features(format_properties.at(VK_FORMAT_D24_UNORM_S8_UINT));
}