mirror of
https://github.com/mpv-player/mpv
synced 2025-04-01 00:07:33 +00:00
vo_gpu: vulkan: add missing buffer barrier fields
These were accidentally omitted.
This commit is contained in:
parent
b79190561f
commit
92778873ad
@ -715,6 +715,8 @@ static void buf_barrier(struct ra *ra, struct vk_cmd *cmd, struct ra_buf *buf,
|
||||
.sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,
|
||||
.srcAccessMask = buf_vk->current_access,
|
||||
.dstAccessMask = newAccess,
|
||||
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
||||
.buffer = buf_vk->slice.buf,
|
||||
.offset = offset,
|
||||
.size = size,
|
||||
|
Loading…
Reference in New Issue
Block a user