From: Karmjit Mahil Date: Thu, 15 Dec 2022 16:35:59 +0000 (+0000) Subject: pvr: Advertise STORAGE_IMAGE_BIT for B10G11R11_UFLOAT_PACK32 X-Git-Tag: upstream/23.3.3~12315 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9905322df96dc394f3cd21266523b7073c890700;p=platform%2Fupstream%2Fmesa.git pvr: Advertise STORAGE_IMAGE_BIT for B10G11R11_UFLOAT_PACK32 For optimalTilingFeatures we should be advertising STORAGE_IMAGE_BIT for B10G11R11_UFLOAT_PACK32 too. Signed-off-by: Karmjit Mahil Reviewed-by: Frank Binns Part-of: --- diff --git a/src/imagination/vulkan/pvr_formats.c b/src/imagination/vulkan/pvr_formats.c index 6777a6f..9ef8710 100644 --- a/src/imagination/vulkan/pvr_formats.c +++ b/src/imagination/vulkan/pvr_formats.c @@ -524,6 +524,7 @@ pvr_get_image_format_features2(const struct pvr_format *pvr_format, case VK_FORMAT_R32G32B32A32_UINT: case VK_FORMAT_R32G32B32A32_SINT: case VK_FORMAT_R32G32B32A32_SFLOAT: + case VK_FORMAT_B10G11R11_UFLOAT_PACK32: flags |= VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT; break; default: