On Sat, Feb 28, 2015 at 9:19 PM, Matt Turner <matts...@gmail.com> wrote:
> On Sat, Feb 28, 2015 at 11:47 AM, Thomas Helland
> <thomashellan...@gmail.com> wrote:
>> On Feb 28, 2015 8:39 PM, "Jason Ekstrand" <ja...@jlekstrand.net> wrote:
>>>
>>> Both patches are
>>>
>>> Reviewed-by: Jason Ekstrand <jason.ekstr...@intel.com>
>>
>> Could you commit them?
>> I don't have commit access.
>
> I'd like to wait a few days to see if there are any comments about the
> floating-point optimizations. If not, I'll commit them. (The integer
> parts are surely fine)

"a + - a" should give NaN if a is NaN or INF, not zero. However, the
GLSL spec says "NaNs are not required to be generated" and "Operations
and built-in functions that operate on a NaN are not required to
return a NaN as the result".

So I think the patch is good.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to