mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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 commitd9c0f3627d)
This commit is contained in:
parent
307fe5bd61
commit
a37b964ec1
2 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue