mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 13:40:37 +02:00
anv: fixup spirv cap for ImageReadWithoutFormat on Gfx12.5
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2e2491b76c ("anv: enable shaderStorageImageReadWithoutFormat on Gfx12.5+")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25573>
This commit is contained in:
parent
80d837cf40
commit
fe05e6610b
1 changed files with 4 additions and 1 deletions
|
|
@ -163,7 +163,10 @@ anv_shader_stage_to_nir(struct anv_device *device,
|
|||
* read/write without format is per format, so just report true. It's
|
||||
* up to the application to check.
|
||||
*/
|
||||
.image_read_without_format = instance->vk.app_info.api_version >= VK_API_VERSION_1_3 || device->vk.enabled_extensions.KHR_format_feature_flags2,
|
||||
.image_read_without_format =
|
||||
pdevice->info.verx10 >= 125 ||
|
||||
instance->vk.app_info.api_version >= VK_API_VERSION_1_3 ||
|
||||
device->vk.enabled_extensions.KHR_format_feature_flags2,
|
||||
.image_write_without_format = true,
|
||||
.int8 = true,
|
||||
.int16 = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue