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

Matt Turner mattst88 at gmail.com
Thu Mar 26 16:57:38 PDT 2015


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".


More information about the mesa-dev mailing list