Ben Widawsky <[email protected]> writes: > I am not the right person to judge the complexity tradeoff, but it > seems like a worthwhile patch to me. I spent a few minutes thinking > about how it could hurt performance and was unable to come up with > anything.
Thanks. I was thinking more that the complexity means more code to maintain rather than that it would be a performance hit. If we have this patch and another patch to make it not fall back to SIMD8 then using interpolateAtCentroid ends up being exactly the same as using the centroid interpolation qualifier on the varying except that it is more convenient because you don't need to put it in the vertex shader as well. However I think centroid interpolation is a pretty obscure feature that is only useful if you're doing multisampling with an algorithm that breaks if it is used for samples that lie outside of the polygon, so maybe it's not really worth worrying about. Regards, - Neil _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
