mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
nvk: Advertise shaderStorageImageReadWithoutFormat
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
6334cac288
commit
e2379a2e87
3 changed files with 3 additions and 1 deletions
|
|
@ -65,6 +65,7 @@ nvk_get_image_format_features(struct nvk_physical_device *pdev,
|
||||||
|
|
||||||
if (nil_format_supports_storage(&pdev->info, p_format)) {
|
if (nil_format_supports_storage(&pdev->info, p_format)) {
|
||||||
features |= VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT |
|
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;
|
VK_FORMAT_FEATURE_2_STORAGE_WRITE_WITHOUT_FORMAT_BIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -374,7 +374,7 @@ nvk_get_device_features(const struct nv_device_info *dev,
|
||||||
.shaderImageGatherExtended = true,
|
.shaderImageGatherExtended = true,
|
||||||
.shaderStorageImageExtendedFormats = true,
|
.shaderStorageImageExtendedFormats = true,
|
||||||
/* TODO: shaderStorageImageMultisample */
|
/* TODO: shaderStorageImageMultisample */
|
||||||
/* TODO: shaderStorageImageReadWithoutFormat */
|
.shaderStorageImageReadWithoutFormat = true,
|
||||||
.shaderStorageImageWriteWithoutFormat = true,
|
.shaderStorageImageWriteWithoutFormat = true,
|
||||||
.shaderUniformBufferArrayDynamicIndexing = true,
|
.shaderUniformBufferArrayDynamicIndexing = true,
|
||||||
.shaderSampledImageArrayDynamicIndexing = true,
|
.shaderSampledImageArrayDynamicIndexing = true,
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,7 @@ nvk_physical_device_spirv_options(const struct nvk_physical_device *pdevice,
|
||||||
.demote_to_helper_invocation = true,
|
.demote_to_helper_invocation = true,
|
||||||
.draw_parameters = true,
|
.draw_parameters = true,
|
||||||
.geometry_streams = true,
|
.geometry_streams = true,
|
||||||
|
.image_read_without_format = true,
|
||||||
.image_write_without_format = true,
|
.image_write_without_format = true,
|
||||||
.min_lod = true,
|
.min_lod = true,
|
||||||
.multiview = true,
|
.multiview = true,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue