[Mesa-dev] [PATCH 8/8] i965/fs: Relax type check in cmod propagation.

Jason Ekstrand jason at jlekstrand.net
Fri Mar 27 05:45:05 PDT 2015


On Mar 26, 2015 6:58 PM, "Matt Turner" <mattst88 at gmail.com> wrote:
>
> On Thu, Mar 26, 2015 at 1:35 PM, Jason Ekstrand <jason at jlekstrand.net>
wrote:
> > What about other datatypes such as D or UW?  Perhaps we should have
> > some sort of is_integer function and just do is_integer(a) !=
> > is_integer(b)?
>
> I can't come up with any case where we'd be doing a partial write
> (with B/UB/W/UW types) and then comparing that. I don't think that's
> possible.
>
> Your question about D though -- that's fine. The check is "if the
> types aren't the same, and one is a float".

We could still have a problem with doubles or half-float.  Probably worth
at least a fixme comment.  Other than that.

Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150327/af2aa3df/attachment.html>


More information about the mesa-dev mailing list