anv: enable shaderStorageImageReadWithoutFormat on Gfx12.5+

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22552>
This commit is contained in:
Lionel Landwerlin 2023-04-18 15:26:41 +03:00 committed by Marge Bot
parent 3678c28d3d
commit 2e2491b76c

View file

@ -1249,7 +1249,10 @@ void anv_GetPhysicalDeviceFeatures2(
.shaderImageGatherExtended = true,
.shaderStorageImageExtendedFormats = true,
.shaderStorageImageMultisample = false,
.shaderStorageImageReadWithoutFormat = false,
/* Gfx12.5 has all the required format supported in HW for typed
* read/writes
*/
.shaderStorageImageReadWithoutFormat = pdevice->info.verx10 >= 125,
.shaderStorageImageWriteWithoutFormat = true,
.shaderUniformBufferArrayDynamicIndexing = true,
.shaderSampledImageArrayDynamicIndexing = true,