[Mesa-dev] [PATCH] radeonsi: enable denorms for 64-bit and 16-bit floats

Matt Arsenault arsenm2 at gmail.com
Tue Feb 9 06:29:42 UTC 2016


> On Feb 8, 2016, at 12:38, Marek Olšák <maraeo at gmail.com> wrote:
> 
>> 
>> We should tell the compiler we are enabling fp-64 denorms by adding
>> +fp64-denormals to the feature string.  It would also be better to
>> read the float_mode value from the config registers emitted by the
>> compiler.
> 
> Yes, I agree, but LLVM only sets these parameters for compute or even
> HSA-only kernels, not for graphics shaders. We need to set the mode
> for all users _now_, not in 6 months. Last time I looked,
> +fp64-denormals had no effect on graphics shaders.

This is a bug. I think I left these because the config register macro names were different for the other shader types, even though they appeared to be the same thing.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160208/db58282b/attachment-0001.html>


More information about the mesa-dev mailing list