[mlir][vulkan-runner] Fix buffer usage flags
authorKevin Petit <kevin.petit@arm.com>
Wed, 14 Oct 2020 14:14:26 +0000 (15:14 +0100)
committerKevin Petit <kevin.petit@arm.com>
Wed, 14 Oct 2020 15:29:32 +0000 (16:29 +0100)
commitacb7827d6217000541c5c0ce2b03049e4f49d23f
treecd9fb691b877e69377b0bb37d288709deb43228d
parentcba533febc1e8a82f98f7ff5e0d083f57f865d26
[mlir][vulkan-runner] Fix buffer usage flags

The buffers are used as source or destination of transfer commands
so always add VK_BUFFER_USAGE_TRANSFER_{DST,SRC}_BIT to their usage
flags.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
mlir/tools/mlir-vulkan-runner/VulkanRuntime.cpp