nvk: Better advertise image format features
We now advertise the top-level features and we don't falsely claim write-without-format support per-format. In theory, NV hardware should be able to do shaderStorageImageReadWithoutFormat but codegen doesn't know how yet. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:

committed by
Marge Bot

parent
db81c26525
commit
dda149c053
@@ -36,7 +36,6 @@ nvk_get_image_format_features(struct nvk_physical_device *pdevice,
|
||||
|
||||
if (nvk_is_storage_image_format(vk_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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user