mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 21:10:12 +01:00
anv: remove divergence requirement
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:
parent
dee9600ac7
commit
d6ee5b7177
1 changed files with 0 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue