nir/opt_intrinsics: Report progress for the gl_SampleMask optimization

Fixes: d3ce8a7f6b "nir: optimize gl_SampleMaskIn to gl_HelperInvocation..."
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7366>
(cherry picked from commit d9c0f3627d)
This commit is contained in:
Jason Ekstrand 2020-10-29 10:15:46 -05:00 committed by Dylan Baker
parent 307fe5bd61
commit a37b964ec1
2 changed files with 2 additions and 1 deletions

View file

@ -4459,7 +4459,7 @@
"description": "nir/opt_intrinsics: Report progress for the gl_SampleMask optimization",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": "d3ce8a7f6b93e893929b81f4d6605a2a968730a1"
},

View file

@ -86,6 +86,7 @@ opt_intrinsics_impl(nir_function_impl *impl,
nir_ssa_def_rewrite_uses(&alu->dest.dest.ssa,
nir_src_for_ssa(new_expr));
nir_instr_remove(&alu->instr);
progress = true;
continue;
}
}