mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
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:
parent
90f33b217d
commit
27037efcfd
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue