mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 11:08:34 +00:00
vkupload: fix a structure sType
This commit is contained in:
parent
2dcdaaf7cb
commit
773e914f48
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ _buffer_to_image_perform (gpointer impl, GstBuffer * inbuf, GstBuffer ** outbuf)
|
||||||
};
|
};
|
||||||
|
|
||||||
buffer_memory_barrier = (VkBufferMemoryBarrier) {
|
buffer_memory_barrier = (VkBufferMemoryBarrier) {
|
||||||
.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
|
.sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,
|
||||||
.pNext = NULL,
|
.pNext = NULL,
|
||||||
.srcAccessMask = buf_mem->barrier.parent.access_flags,
|
.srcAccessMask = buf_mem->barrier.parent.access_flags,
|
||||||
.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT,
|
.dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT,
|
||||||
|
|
Loading…
Reference in a new issue