Skip to content

Draft: 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.

ToDo: add the storage descriptor sets to allow atomic read and write operations.

Above: !6797

Edited by Víctor Manuel Jáquez Leal

Merge request reports