On Wed Mar 22 15:41:35 2023 +0000, Jan Sikorski wrote:
That doesn't seem right, without a barrier, first write might overwrite the second, if both writes use different caches and they flush out of execution order. Is there something in the spec that says it couldn't happen?
Hmm, do we need a barrier after every draw, even if nothing else is done in between? Do we need a barrier after every vkCmdCopyImage? I always had the assumption that this is not the case - barriers are needed if you switch between different operations or pipelines, but not when doing more of the same.
I'll re-read the Vulkan docs with this question in mind...