diff options
author | bunnei <bunneidev@gmail.com> | 2021-09-28 19:46:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-28 19:46:56 +0200 |
commit | 24c0dde958136268729e56eb024ff4db8a269f38 (patch) | |
tree | 15ef18c6fe51a5dc20081fa7372893ae10518a3f /src/video_core/renderer_vulkan | |
parent | Merge pull request #7096 from german77/update_13.0.0 (diff) | |
parent | vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier (diff) | |
download | yuzu-24c0dde958136268729e56eb024ff4db8a269f38.tar yuzu-24c0dde958136268729e56eb024ff4db8a269f38.tar.gz yuzu-24c0dde958136268729e56eb024ff4db8a269f38.tar.bz2 yuzu-24c0dde958136268729e56eb024ff4db8a269f38.tar.lz yuzu-24c0dde958136268729e56eb024ff4db8a269f38.tar.xz yuzu-24c0dde958136268729e56eb024ff4db8a269f38.tar.zst yuzu-24c0dde958136268729e56eb024ff4db8a269f38.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-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) { |