Skip to content

anv/hasvk: default image_read_without_format to true

Yiwei Zhang requested to merge zzyiwei/mesa:anv-flags2-fix into main

What does this MR do and why?

anv/hasvk: default image_read_without_format to true

The spv cap has the correct requirements to be satisfied before an app
can use it, so we can drop the redundant check here to be more robust.
Either of below is needed:
- VkPhysicalDeviceFeatures::shaderStorageImageReadWithoutFormat
- VK_VERSION_1_3
- VK_KHR_format_feature_flags2

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>

This is the proposed change from !25573 (comment 2318467).

/cc @llandwerlin @tpalli

Merge request reports