summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-17 00:30:52 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-02-13 06:16:21 +0100
commit79afdeaf0832a77d259ee5fc87fcec336f554381 (patch)
treed4977fc82a2110da9fd7147123a5fbad32fc0ce1
parentvulkan_device: Fix formatting of constants (diff)
downloadyuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.tar
yuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.tar.gz
yuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.tar.bz2
yuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.tar.lz
yuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.tar.xz
yuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.tar.zst
yuzu-79afdeaf0832a77d259ee5fc87fcec336f554381.zip
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h
index 55c775523..7f781b081 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.h
+++ b/src/video_core/vulkan_common/vulkan_wrapper.h
@@ -1057,6 +1057,12 @@ public:
void PipelineBarrier(VkPipelineStageFlags src_stage_mask, VkPipelineStageFlags dst_stage_mask,
VkDependencyFlags dependency_flags,
+ const VkMemoryBarrier& memory_barrier) const noexcept {
+ PipelineBarrier(src_stage_mask, dst_stage_mask, dependency_flags, memory_barrier, {}, {});
+ }
+
+ void PipelineBarrier(VkPipelineStageFlags src_stage_mask, VkPipelineStageFlags dst_stage_mask,
+ VkDependencyFlags dependency_flags,
const VkBufferMemoryBarrier& buffer_barrier) const noexcept {
PipelineBarrier(src_stage_mask, dst_stage_mask, dependency_flags, {}, buffer_barrier, {});
}