Skip to content

rusticl/kernel: Do not provide nir_lower_compute_system_values_options

What does this MR do and why?

rusticl/kernel: Do not provide nir_lower_compute_system_values_options

Give the driver a chance to decide what should be lowered.

Let's look at one concrete example:

      if ((options && options->has_base_workgroup_id) ||
          !b->shader->options->has_cs_global_id) {

If we provide our options we overrule the driver, which is bad.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>

Merge request reports

Loading