diff options
author | Matthew Waters <matthew@centricular.com> | 2016-04-08 18:09:53 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-04-08 21:46:50 +1000 |
commit | 61d1b3113647c0a752956690df2fcc91a34afde0 (patch) | |
tree | d76680374090ccab14132be7670818c1523a133e /ext/vulkan | |
parent | cecbcd704b1e93d5a609b6d01b04903198b4e7f8 (diff) |
vulkan: silence a validation warning filling out the image barrier
Diffstat (limited to 'ext/vulkan')
-rw-r--r-- | ext/vulkan/vkimagememory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/vulkan/vkimagememory.c b/ext/vulkan/vkimagememory.c index b1263b09f..31433fb24 100644 --- a/ext/vulkan/vkimagememory.c +++ b/ext/vulkan/vkimagememory.c @@ -442,6 +442,8 @@ gst_vulkan_image_memory_set_layout (GstVulkanImageMemory * vk_mem, barrier->srcAccessMask = _access_flags_from_layout (vk_mem->image_layout); barrier->oldLayout = vk_mem->image_layout; barrier->newLayout = image_layout; + barrier->srcQueueFamilyIndex = 0; + barrier->dstQueueFamilyIndex = 0; barrier->image = vk_mem->image; GST_VK_IMAGE_SUBRESOURCE_RANGE (barrier->subresourceRange, VK_IMAGE_ASPECT_COLOR_BIT, 0, 1, 0, 1); |