[Mesa-dev] [PATCH] r300/compiler: Implement ROUND

2011-08-23 Thread Tom Stellard
According to the GLSL spec, the implementor can decide which way to round when the fraction is .5. The r300 compiler will round down, so we can use CND and save an instruction. --- MLAA should work on r300g (r500 only) with this patch. I've tested with the kasanen-post-process-v2 branch and it

Re: [Mesa-dev] [PATCH] r300/compiler: Implement ROUND

2011-08-23 Thread Corbin Simpson
Sending from a mobile, pardon my terseness. ~ C. On Aug 23, 2011 2:42 PM, Tom Stellard tstel...@gmail.com wrote: According to the GLSL spec, the implementor can decide which way to round when the fraction is .5. The r300 compiler will round down, so we can use CND and save an instruction. ---

Re: [Mesa-dev] [PATCH] r300/compiler: Implement ROUND

2011-08-23 Thread Corbin Simpson
Have not tested this, but it looks good. I'll apply after testing if Marek doesn't get there first. Thanks! Sending from a mobile, pardon my terseness. ~ C. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH] r300/compiler: Implement ROUND

2011-08-23 Thread Lauri Kasanen
On Tue, 23 Aug 2011 14:41:45 -0700 Tom Stellard tstel...@gmail.com wrote: MLAA should work on r300g (r500 only) with this patch. I've tested with the kasanen-post-process-v2 branch and it looks OK to me, but it would be nice to have a second opinion. Hi Tom Thanks for implementing this for