diff options
author | Mai <mathew1800@gmail.com> | 2022-06-14 14:22:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 14:22:38 +0200 |
commit | dc47d0f624afe76623158a60623d2b6866b36678 (patch) | |
tree | 236eae381abc5d38bd3473ccf488e00ce6aa04dc /src | |
parent | Merge pull request #8458 from lat9nq/no-constexpr-flow-block (diff) | |
parent | vk_compute_pass: Silence Wextra warning (diff) | |
download | yuzu-dc47d0f624afe76623158a60623d2b6866b36678.tar yuzu-dc47d0f624afe76623158a60623d2b6866b36678.tar.gz yuzu-dc47d0f624afe76623158a60623d2b6866b36678.tar.bz2 yuzu-dc47d0f624afe76623158a60623d2b6866b36678.tar.lz yuzu-dc47d0f624afe76623158a60623d2b6866b36678.tar.xz yuzu-dc47d0f624afe76623158a60623d2b6866b36678.tar.zst yuzu-dc47d0f624afe76623158a60623d2b6866b36678.zip |
Diffstat (limited to '')
-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, |