diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-24 00:11:18 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-09-24 01:40:53 +0200 |
commit | 1e1ecca691a49250319a9b8634fe7fca9590a35c (patch) | |
tree | 03f8cd16ee69893aa332f40bc379a975fd878bb4 /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #7003 from ameerj/unlocked-present-mode (diff) | |
download | yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.gz yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.bz2 yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.lz yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.xz yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.zst yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_texture_cache.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index ff979a7ac..3b87640b5 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -127,7 +127,7 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) { const auto format_info = MaxwellToVK::SurfaceFormat(device, FormatType::Optimal, false, format); VkImageCreateFlags flags = VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT; if (info.type == ImageType::e2D && info.resources.layers >= 6 && - info.size.width == info.size.height) { + info.size.width == info.size.height && !device.HasBrokenCubeImageCompability()) { flags |= VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT; } if (info.type == ImageType::e3D) { |