summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-06-14 15:14:13 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-06-14 15:14:13 +0200
commit5568763a577d969788f1a9c3871ff4f0b284ca3d (patch)
tree5b41464ac47a2c60c4d1cfc93306ebd1b730c109 /src/video_core/renderer_vulkan
parentMerge pull request #8439 from liamwhite/monkey-compiler (diff)
downloadyuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.tar
yuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.tar.gz
yuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.tar.bz2
yuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.tar.lz
yuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.tar.xz
yuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.tar.zst
yuzu-5568763a577d969788f1a9c3871ff4f0b284ca3d.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_compute_pass.cpp2
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,