anv: remove divergence requirement
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Not required since we've disabled maintenance8 support.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: d39e443ef8 ("anv: add infrastructure for common vk_pipeline")
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37242>
This commit is contained in:
Lionel Landwerlin 2025-09-08 23:23:20 +03:00 committed by Marge Bot
parent dee9600ac7
commit d6ee5b7177

View file

@ -1330,15 +1330,6 @@ anv_shader_lower_nir(struct anv_device *device,
nir_lower_non_uniform_image_access |
nir_lower_non_uniform_get_ssbo_size;
/* For textures, images, sampler, NonUniform decoration is required but not
* for offsets, so we rely on divergence information for this. Offsets used
* to be constants until KHR_maintenance8.
*/
if (device->vk.enabled_features.maintenance8) {
nir_foreach_function_impl(impl, nir)
nir_metadata_require(impl, nir_metadata_divergence);
}
/* In practice, most shaders do not have non-uniform-qualified
* accesses (see
* https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17558#note_1475069)