nvk: Advertise shaderStorageImageReadWithoutFormat

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand
2023-05-03 18:14:09 -05:00
committed by Marge Bot
parent 6334cac288
commit e2379a2e87
3 changed files with 3 additions and 1 deletions

View File

@@ -65,6 +65,7 @@ nvk_get_image_format_features(struct nvk_physical_device *pdev,
if (nil_format_supports_storage(&pdev->info, p_format)) {
features |= VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT |
VK_FORMAT_FEATURE_2_STORAGE_READ_WITHOUT_FORMAT_BIT |
VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT;
}