On 07/02/2012 06:33 PM, Ian Romanick wrote:
On 07/02/2012 04:00 PM, Brian Paul wrote:
Won't this cause a constant and a non-constant to generate a different
value? The implementation of round() used in constant folding really
needs to be the same as the one used by the code generator. Right?
Yes, I'll fix that and repost.
But note that there's lots of places where compile-time evaluation
might give different results than render-time evaluation (the trig
functions come to mind).
-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev