mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-26 15:48:18 +00:00
vulkan_wrapper: Add memory barrier pipeline barrier helper
This commit is contained in:
parent
004a8d6a7a
commit
79afdeaf08
1 changed files with 6 additions and 0 deletions
|
@ -1055,6 +1055,12 @@ public:
|
||||||
PipelineBarrier(src_stage_mask, dst_stage_mask, dependency_flags, {}, {}, {});
|
PipelineBarrier(src_stage_mask, dst_stage_mask, dependency_flags, {}, {}, {});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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,
|
void PipelineBarrier(VkPipelineStageFlags src_stage_mask, VkPipelineStageFlags dst_stage_mask,
|
||||||
VkDependencyFlags dependency_flags,
|
VkDependencyFlags dependency_flags,
|
||||||
const VkBufferMemoryBarrier& buffer_barrier) const noexcept {
|
const VkBufferMemoryBarrier& buffer_barrier) const noexcept {
|
||||||
|
|
Loading…
Reference in a new issue