[Mesa-dev] [PATCH] radv: set no-signed-zeros-fp-math

Józef Kucia joseph.kucia at gmail.com
Thu Jan 11 10:08:31 UTC 2018


On Wed, Jan 10, 2018 at 10:31 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> +       LLVMAddTargetDependentFunctionAttr(main_function,
> +                                          "no-signed-zeros-fp-math",
> +                                          "true");
> +

Is this option safe to enable for Vulkan? The Vulkan spec in the
"Precision and Operation of SPIR-V Instructions" section says:

"Positive and negative infinities and positive and negative zeros are
generated as dictated by IEEE 754, but subject to the precisions
allowed in the following table."


More information about the mesa-dev mailing list