diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 15:28:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 15:28:45 +0200 |
commit | c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff (patch) | |
tree | 3e3fd48b6d394dd45ceb7851eee29c20385263e0 /src/video_core/renderer_vulkan | |
parent | Merge pull request #8434 from german77/uuid (diff) | |
parent | vk_compute_pass: Use VK_ACCESS_NONE (diff) | |
download | yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.tar yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.tar.gz yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.tar.bz2 yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.tar.lz yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.tar.xz yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.tar.zst yuzu-c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_compute_pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.cpp b/src/video_core/renderer_vulkan/vk_compute_pass.cpp index b75c99d44..a3d478837 100644 --- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp +++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp @@ -333,7 +333,7 @@ void ASTCDecoderPass::Assemble(Image& image, const StagingBufferRef& map, const VkImageMemoryBarrier image_barrier{ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .pNext = nullptr, - .srcAccessMask = is_initialized ? VK_ACCESS_SHADER_WRITE_BIT : VkAccessFlagBits{}, + .srcAccessMask = is_initialized ? VK_ACCESS_SHADER_WRITE_BIT : VK_ACCESS_NONE, .dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT, .oldLayout = is_initialized ? VK_IMAGE_LAYOUT_GENERAL : VK_IMAGE_LAYOUT_UNDEFINED, .newLayout = VK_IMAGE_LAYOUT_GENERAL, |