vulkan: improve storage format usage
When uploading or downloading buffers the selected format should support VK_IMAGE_USAGE_STORAGE_BIT
Also, the image should be created with VK_IMAGE_CREATE_ALIAS_BIT
(memory aliasing) flag if the usage is for either storage or sampling, and with VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT | VK_IMAGE_CREATE_EXTENDED_USAGE_BIT
if multi-memory YUV.
Above: !6797 (merged)
Edited by Víctor Manuel Jáquez Leal