On 25 April 2015 at 09:58, Axel Davy <axel.d...@ens.fr> wrote:
> static void nine_setup()
> {
>     fpu_control_t c;
>
>     _FPU_GETCW(c);
>     /* clear the control word */
>     c &= _FPU_RESERVED;
>     /* enable interrupts (d3d9 doc, wine tests) */
>     c |= _FPU_MASK_IM | _FPU_MASK_DM | _FPU_MASK_ZM | _FPU_MASK_OM |
>            _FPU_MASK_UM | _FPU_MASK_PM;
>     _FPU_SETCW(c);
> }
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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to