diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 11:29:57 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-06-14 11:29:57 +0200 |
commit | fcfe192e832fe196d26c9f4010888147487750a3 (patch) | |
tree | 236eae381abc5d38bd3473ccf488e00ce6aa04dc | |
parent | Merge pull request #8458 from lat9nq/no-constexpr-flow-block (diff) | |
download | yuzu-fcfe192e832fe196d26c9f4010888147487750a3.tar yuzu-fcfe192e832fe196d26c9f4010888147487750a3.tar.gz yuzu-fcfe192e832fe196d26c9f4010888147487750a3.tar.bz2 yuzu-fcfe192e832fe196d26c9f4010888147487750a3.tar.lz yuzu-fcfe192e832fe196d26c9f4010888147487750a3.tar.xz yuzu-fcfe192e832fe196d26c9f4010888147487750a3.tar.zst yuzu-fcfe192e832fe196d26c9f4010888147487750a3.zip |
-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 29481a102..aea2d63bb 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 : VkAccessFlags{}, + .srcAccessMask = is_initialized ? VK_ACCESS_SHADER_WRITE_BIT : VkAccessFlagBits{}, .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, |