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_rasterizer.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 'src/video_core/renderer_vulkan/vk_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index 2ed2004f0..7500e8244 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -815,8 +815,13 @@ bool RasterizerVulkan::WalkAttachmentOverlaps(const CachedSurfaceView& attachmen std::tuple<VkFramebuffer, VkExtent2D> RasterizerVulkan::ConfigureFramebuffers( VkRenderPass renderpass) { - FramebufferCacheKey key{renderpass, std::numeric_limits<u32>::max(), - std::numeric_limits<u32>::max(), std::numeric_limits<u32>::max()}; + FramebufferCacheKey key{ + .renderpass = renderpass, + .width = std::numeric_limits<u32>::max(), + .height = std::numeric_limits<u32>::max(), + .layers = std::numeric_limits<u32>::max(), + .views = {}, + }; const auto try_push = [&key](const View& view) { if (!view) { |