[Mesa-dev] [PATCH 2/2] r600g: add doubles support for CAYMAN

Benjamin Bellec b.bellec at gmail.com
Sun Feb 22 05:51:52 PST 2015


Hello all,

Do you know a game or app using doubles ?

2015-02-20 21:08 GMT+01:00 Ilia Mirkin <imirkin at alum.mit.edu>:

> On Fri, Feb 20, 2015 at 3:07 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> > On Thu, Feb 19, 2015 at 9:59 PM, Glenn Kennard <glenn.kennard at gmail.com>
> wrote:
> >>> +       if ((write_mask & 0x3) != 0x3 &&
> >>> +           (write_mask & 0xc) != 0xc) {
> >>> +               fprintf(stderr, "illegal writemask for 64-bit: 0x%x\n",
> >>> write_mask);
> >>> +               return -1;
> >>> +       }
> >
> > I think I noted this on IRC, but did you mean this to be || instead of
> > && ? e.g. right now this will not trigger for a .xyz writemask, since
> > write_mask & 3 == 3.
>
> Oh but it can't be || either, since write_mask == 3 should pass this.
> I guess you want like
>
> if (write_mask & 3 && write_mask & 3 != 3)
>   error
> if (writemask & c && writemaks & c != c)
>   error
>
>   -ilia
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150222/20039091/attachment.html>


More information about the mesa-dev mailing list