panvk: Add STORAGE_IMAGE_BIT feature for formats supporting sampled images
All formats that support sampled images should also be suitable for
storage images.
Fixes: d970fe2e ("panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs")
Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33459>
This commit is contained in:
committed by
Marge Bot
parent
90f33b217d
commit
27037efcfd
@@ -1236,6 +1236,7 @@ get_image_plane_format_features(struct panvk_physical_device *physical_device,
|
||||
features |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
|
||||
|
||||
features |= VK_FORMAT_FEATURE_BLIT_SRC_BIT;
|
||||
features |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT;
|
||||
}
|
||||
|
||||
if (fmt.bind & PAN_BIND_RENDER_TARGET) {
|
||||
|
||||
Reference in New Issue
Block a user