nir: Add a nir_ssa_def_all_uses_are_fsat() helper
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Fri, 28 Apr 2023 23:44:55 +0000 (18:44 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 24 Oct 2023 22:21:17 +0000 (22:21 +0000)
commit0680330cf7d7aa9dcb1242ff979f2054039a8aaa
tree46c2a726f2f915f898881d35625fc565dfec6153
parent28ebe62af2cb38f73790f31dce4b0448268eb2e1
nir: Add a nir_ssa_def_all_uses_are_fsat() helper

Extracted from nir_lower_to_source_mods, this is useful for back-ends
which don't want to rely on NIR source and destination modifiers.

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25000>
src/compiler/nir/nir.c
src/compiler/nir/nir.h