Fix destination access mask in image memory barrier
authorMadeeha Javed <javed@igalia.com>
Tue, 7 Mar 2023 13:11:43 +0000 (18:11 +0500)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 24 Mar 2023 09:42:52 +0000 (09:42 +0000)
commit8771481027d76a262195de8397d8985246bca98f
tree6797516be5fecc91e8eb4bb10f91436f5eb85a9a
parent787655af02af53eeb216ba82a5b67f6aafde115d
Fix destination access mask in image memory barrier

Write operation from the source buffer to the image must be completed before
read is performed from the image to the destination buffer. Therefore, image
barrier dstAccessMask is set to VK_ACCESS_TRANSFER_READ_BIT to make reading
operation wait on completion of writing.

Affects:
dEQP-VK.image.queue_transfer.*

Components: Vulkan
VK-GL-CTS issue: 4304

Change-Id: Ie83108ae63fc50de7e36db52d3107d0a26eccd1d
external/vulkancts/modules/vulkan/image/vktImageTransfer.cpp