[Mesa-dev] [PATCH 08/16] st/nine: Change x86 FPU Control word on device creation as on wined3d and windows

Axel Davy axel.davy at ens.fr
Sat Apr 25 01:32:49 PDT 2015


Le 25/04/2015 10:15, Henri Verbeet a écrit :
>
> The comment is misleading, because the code does more than that.
> (Hint: What happens to rounding and precision control?)
>
> But really, please either explicitly tell people they can't look at
> Wine (D3D related) source if they want to contribute to st/nine, or
> just license st/nine under LGPL as well.
>
Yes, I'll add | _FPU_SINGLE | _FPU_RC_NEAREST, and complete the comment 
with saying that's also what d3d9 says (" Direct3D defaults to 
single-precision round-to-nearest mode")

We are careful about not copying code from wine, and have refused some 
patches for that reason, but this one fell through the net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150425/c9c4d740/attachment.html>


More information about the mesa-dev mailing list