mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 06:20:09 +01: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)) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -374,7 +374,7 @@ nvk_get_device_features(const struct nv_device_info *dev,
|
|||
.shaderImageGatherExtended = true,
|
||||
.shaderStorageImageExtendedFormats = true,
|
||||
/* TODO: shaderStorageImageMultisample */
|
||||
/* TODO: shaderStorageImageReadWithoutFormat */
|
||||
.shaderStorageImageReadWithoutFormat = true,
|
||||
.shaderStorageImageWriteWithoutFormat = true,
|
||||
.shaderUniformBufferArrayDynamicIndexing = true,
|
||||
.shaderSampledImageArrayDynamicIndexing = true,
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ nvk_physical_device_spirv_options(const struct nvk_physical_device *pdevice,
|
|||
.demote_to_helper_invocation = true,
|
||||
.draw_parameters = true,
|
||||
.geometry_streams = true,
|
||||
.image_read_without_format = true,
|
||||
.image_write_without_format = true,
|
||||
.min_lod = true,
|
||||
.multiview = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue