diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index 07e9ccc8388..58b89a1bd3c 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -700,8 +700,6 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir) } assert(exec_list_length(&nir->functions) == 1); - OPT(nir_lower_constant_initializers, ~nir_var_function_temp); - if (nir->info.stage == MESA_SHADER_GEOMETRY) OPT(nir_lower_gs_intrinsics);