diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2021-07-26 23:30:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 23:30:05 +0200 |
commit | 6c432d5349a9fdd13fba2158eef123ac6d5e553d (patch) | |
tree | cd1d09b106987361cb691feeaadefc48c3370529 /src | |
parent | Merge pull request #6724 from lioncash/nodisc-shader (diff) | |
parent | vk_compute_pass: Fix pipeline barrier for indexed quads (diff) | |
download | yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.tar yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.tar.gz yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.tar.bz2 yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.tar.lz yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.tar.xz yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.tar.zst yuzu-6c432d5349a9fdd13fba2158eef123ac6d5e553d.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 8e426ce2c..73157a15d 100644 --- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp +++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp @@ -326,7 +326,7 @@ std::pair<VkBuffer, VkDeviceSize> QuadIndexedPass::Assemble( .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER, .pNext = nullptr, .srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT, - .dstAccessMask = VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT, + .dstAccessMask = VK_ACCESS_INDEX_READ_BIT, }; const std::array push_constants{base_vertex, index_shift}; const VkDescriptorSet set = descriptor_allocator.Commit(); |