nir: split FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE_FP* flags
authorMarek Olšák <marek.olsak@amd.com>
Wed, 20 Sep 2023 18:44:28 +0000 (14:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 17 Oct 2023 17:27:12 +0000 (17:27 +0000)
commitf3886e9c02a57f87db14aaf761aa0c979858d063
tree6315b05642ddd4d75e6b49290f120a61ad900987
parentb94b784492640519a37182c300b0872524c78d77
nir: split FLOAT_CONTROLS_SIGNED_ZERO_INF_NAN_PRESERVE_FP* flags

GLSL doesn't preserve NaNs, but it optionally preserves Infs.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25392>
src/compiler/nir/nir.h
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_print.c
src/compiler/shader_enums.h
src/compiler/shader_info.h
src/compiler/spirv/nir_spirv.h
src/gallium/frontends/rusticl/mesa/compiler/clc/spirv.rs
src/gallium/frontends/rusticl/mesa/compiler/nir.rs