mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02: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> (cherry picked from commit27037efcfd)
This commit is contained in:
parent
f6ccb29a68
commit
ff107b6123
2 changed files with 2 additions and 1 deletions
|
|
@ -4234,7 +4234,7 @@
|
|||
"description": "panvk: Add STORAGE_IMAGE_BIT feature for formats supporting sampled images",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d970fe2e9d6a8e9997a0ce212146d62013b3b455",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1197,6 +1197,7 @@ get_format_properties(struct panvk_physical_device *physical_device,
|
|||
buffer |= VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT;
|
||||
|
||||
tex |= VK_FORMAT_FEATURE_BLIT_SRC_BIT;
|
||||
tex |= VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT;
|
||||
}
|
||||
|
||||
if (fmt.bind & PAN_BIND_RENDER_TARGET) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue