mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-24 15:50:37 +02:00
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:
parent
84ecac58a6
commit
6d07a56c6a
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue