diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-03 13:39:39 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-03 18:28:57 +0200 |
commit | 06809ad7bc8055463328dbf5aa67053b541ede22 (patch) | |
tree | 577fcfce3189d46d617f43ba941b517938353d2a /src/video_core/renderer_vulkan/vk_texture_cache.cpp | |
parent | Merge pull request #4437 from lioncash/ptr (diff) | |
download | yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.tar yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.tar.gz yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.tar.bz2 yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.tar.lz yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.tar.xz yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.tar.zst yuzu-06809ad7bc8055463328dbf5aa67053b541ede22.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_texture_cache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp index efd4bb13b..2c6f54101 100644 --- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp @@ -473,6 +473,8 @@ VkImageView CachedSurfaceView::GetAttachment() { .aspectMask = aspect_mask, .baseMipLevel = base_level, .levelCount = num_levels, + .baseArrayLayer = 0, + .layerCount = 0, }, }; if (image_view_type == VK_IMAGE_VIEW_TYPE_3D) { |