ce1d0ae108
Adding zero has the effect of flushing to zero when ftz is set. This fixes a regression in dEQP-VK.spirv_assembly.instruction.compute.float_controls.fp32.input_args.reflect_denorm_flush_to_zero An add.ftz changes one of its arguments to negative rather than positive zero starting in8d19ffef0a("nir: Add more matches for `fmulz`") on that test, which was then triggering copy-prop which brought this issue to light. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13961 Fixes:29bfdcd7("nak: Add an ftz bit to a bunch of float ops") Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Mary Guillemard <mary@mary.zone> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37537>