diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index fcea4b40b54..1ab004b68d4 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -643,6 +643,7 @@ brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler, OPT(nir_opt_combine_stores, nir_var_all); OPT(nir_opt_ray_queries); + OPT(nir_opt_ray_query_ranges); if (is_scalar) { OPT(nir_lower_alu_to_scalar, NULL, NULL);