Re: [Mesa-dev] [PATCH] llvmpipe: Use saturating add/sub for UNORM formats

2013-06-10 Thread Adam Jackson
On Fri, 2013-06-07 at 08:34 -0700, Jose Fonseca wrote: > Looks good to me. Pushed (along with some other fixes of Richard's that were still pending), thanks. - ajax ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/m

Re: [Mesa-dev] [PATCH] llvmpipe: Use saturating add/sub for UNORM formats

2013-06-07 Thread Jose Fonseca
Looks good to me. Jose - Original Message - > lp_build_add and lp_build_sub have fallback code for cases > that cannot be handled by known intrinsics. For UNORM formats, > this code was using modulo rather than saturating arithmetic. > > This fixes some rendering issues for a gnome sess

[Mesa-dev] [PATCH] llvmpipe: Use saturating add/sub for UNORM formats

2013-06-07 Thread Richard Sandiford
lp_build_add and lp_build_sub have fallback code for cases that cannot be handled by known intrinsics. For UNORM formats, this code was using modulo rather than saturating arithmetic. This fixes some rendering issues for a gnome session on System z. It also fixes various piglit tests on z, such a