ac/nir/lower_ps_late: preserve signed zero, inf, nan for exports

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39187>
This commit is contained in:
Georg Lehmann 2026-01-07 11:46:12 +01:00 committed by Marge Bot
parent 84ecac58a6
commit 6d07a56c6a

View file

@ -575,6 +575,7 @@ static bool
export_ps_outputs(nir_builder *b, lower_ps_state *s)
{
b->cursor = nir_after_impl(b->impl);
b->fp_math_ctrl = nir_fp_preserve_sz_inf_nan;
/* Alpha-to-coverage should be before alpha-to-one. */
nir_def *mrtz_alpha = NULL;