diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 8a435166858..8d2db7e4244 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -7481,11 +7481,11 @@ brw_compile_fs(const struct brw_compiler *compiler, * offset to determine render target 0 store instruction in * emit_alpha_to_coverage pass. */ - NIR_PASS_V(nir, nir_opt_constant_folding); - NIR_PASS_V(nir, brw_nir_lower_alpha_to_coverage, key, prog_data); + NIR_PASS(_, nir, nir_opt_constant_folding); + NIR_PASS(_, nir, brw_nir_lower_alpha_to_coverage, key, prog_data); } - NIR_PASS_V(nir, brw_nir_move_interpolation_to_top); + NIR_PASS(_, nir, brw_nir_move_interpolation_to_top); brw_postprocess_nir(nir, compiler, true, debug_enabled, key->base.robust_buffer_access); diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c index faa9662fca4..9f5d2c60f17 100644 --- a/src/intel/compiler/brw_nir.c +++ b/src/intel/compiler/brw_nir.c @@ -1649,7 +1649,7 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler, OPT(nir_opt_move, nir_move_comparisons); OPT(nir_opt_dead_cf); - NIR_PASS_V(nir, nir_convert_to_lcssa, true, true); + NIR_PASS(_, nir, nir_convert_to_lcssa, true, true); NIR_PASS_V(nir, nir_divergence_analysis); /* TODO: Enable nir_opt_uniform_atomics on Gfx7.x too.