vo_gpu: vulkan: add missing buffer barrier fields

These were accidentally omitted.
This commit is contained in:
Niklas Haas 2018-02-04 18:14:56 +01:00 committed by Kevin Mitchell
parent b79190561f
commit 92778873ad
1 changed files with 2 additions and 0 deletions

View File

@ -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,