[Mesa-dev] [PATCH 3/3] tgsi: implement ROUND and ROUNDEVEN instructions in exec module

Kenneth Graunke kenneth at whitecape.org
Mon Jul 2 17:38:55 PDT 2012


On 07/02/2012 05: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?

Oh, right...that's a very good point.

--Ken




More information about the mesa-dev mailing list