diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index e1a39a9ca9e..3ff83240a4c 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -1480,6 +1480,7 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir, OPT(nir_lower_compute_system_values, &lower_csv_options); const nir_lower_subgroups_options subgroups_options = { + .subgroup_size = brw_nir_api_subgroup_size(nir, 0), .ballot_bit_size = 32, .ballot_components = 1, .lower_to_scalar = true,