[Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work
Tom Stellard
tstellar at gmail.com
Tue Aug 16 09:48:17 PDT 2011
On Tue, Aug 16, 2011 at 10:24 AM, Lauri Kasanen <cand at gmx.com> wrote:
> Hi list
>
> This patchset adds post-processing to all Gallium drivers. It's also posted to the gsoc branch at http://cgit.freedesktop.org/~cand/mesa/log/?h=gsoc if you prefer cgit.
>
> The included filters are three color ones (easy testing of chaining, should work on all drivers), two versions of MLAA, and a cel-shading filter (last three need ROUND support from the driver).
>
> The set builds on top of the three cleanup patches sent earlier; they haven't been applied to master, nor have gotten any comments.
>
>
> Current driver status w/ MLAA is that softpipe and llvmpipe work. Nouveau and r600g have bug(s), r300g does not support ROUND at the time. No idea of the other g3d drivers.
>
> Looking forward to the review comments.
On r300g, ROUND(A) can be lowered to:
Fraction = FRC(A)
Low = A - Fraction
High = Low + 1
Cond = Fraction - 0.5
Rounded_Value = CMP(High, Low, Cond)
-Tom
More information about the mesa-dev
mailing list