Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2e2491b76c ("anv: enable shaderStorageImageReadWithoutFormat on Gfx12.5+")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25573>
* read/write without format is per format, so just report true. It's
* up to the application to check.
*/
- .image_read_without_format = instance->vk.app_info.api_version >= VK_API_VERSION_1_3 || device->vk.enabled_extensions.KHR_format_feature_flags2,
+ .image_read_without_format =
+ pdevice->info.verx10 >= 125 ||
+ instance->vk.app_info.api_version >= VK_API_VERSION_1_3 ||
+ device->vk.enabled_extensions.KHR_format_feature_flags2,
.image_write_without_format = true,
.int8 = true,
.int16 = true,