rendervulkan: Fix release barrier
Need to use our queueFamilyIndex as the src.
This commit is contained in:
parent
a7b484135d
commit
ec92dc75e5
1 changed files with 4 additions and 3 deletions
|
@ -2355,9 +2355,10 @@ bool vulkan_composite( struct Composite_t *pComposite, struct VulkanPipeline_t *
|
||||||
.dstAccessMask = useForeignQueue ? (VkAccessFlagBits)0 : VK_ACCESS_MEMORY_READ_BIT,
|
.dstAccessMask = useForeignQueue ? (VkAccessFlagBits)0 : VK_ACCESS_MEMORY_READ_BIT,
|
||||||
.oldLayout = VK_IMAGE_LAYOUT_GENERAL,
|
.oldLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||||
.newLayout = VK_IMAGE_LAYOUT_GENERAL,
|
.newLayout = VK_IMAGE_LAYOUT_GENERAL,
|
||||||
.srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
|
.srcQueueFamilyIndex = queueFamilyIndex,
|
||||||
.dstQueueFamilyIndex = useForeignQueue ? VK_QUEUE_FAMILY_FOREIGN_EXT
|
.dstQueueFamilyIndex = useForeignQueue
|
||||||
: VK_QUEUE_FAMILY_IGNORED,
|
? VK_QUEUE_FAMILY_FOREIGN_EXT
|
||||||
|
: queueFamilyIndex,
|
||||||
.image = compositeImage,
|
.image = compositeImage,
|
||||||
.subresourceRange = subResRange
|
.subresourceRange = subResRange
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue