diff options
author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-11 18:15:35 +0200 |
---|---|---|
committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2023-10-11 18:15:35 +0200 |
commit | 98cac9410c2351ceab2833ee4ec216f4bcc6bdde (patch) | |
tree | e29b61b644f96b2fad55deae49a77589ebfccc68 /src/video_core/renderer_vulkan | |
parent | Merge pull request #11743 from Squall-Leonhart/IFREMOVED (diff) | |
download | yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.tar yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.tar.gz yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.tar.bz2 yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.tar.lz yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.tar.xz yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.tar.zst yuzu-98cac9410c2351ceab2833ee4ec216f4bcc6bdde.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_query_cache.cpp | 1 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_render_pass_cache.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cpp index 2edaafa7e..66c03bf17 100644 --- a/src/video_core/renderer_vulkan/vk_query_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp @@ -1436,6 +1436,7 @@ void QueryCacheRuntime::Barriers(bool is_prebarrier) { .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT, .dstAccessMask = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT, }; + impl->scheduler.RequestOutsideRenderPassOperationContext(); if (is_prebarrier) { impl->scheduler.Record([](vk::CommandBuffer cmdbuf) { cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, diff --git a/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp b/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp index ae9f1de64..7746a88d3 100644 --- a/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp @@ -19,7 +19,7 @@ VkAttachmentDescription AttachmentDescription(const Device& device, PixelFormat VkSampleCountFlagBits samples) { using MaxwellToVK::SurfaceFormat; return { - .flags = VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT, + .flags = {}, .format = SurfaceFormat(device, FormatType::Optimal, true, format).format, .samples = samples, .loadOp = VK_ATTACHMENT_LOAD_OP_LOAD, |