Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-17 Thread Brian Paul
On 08/17/2011 02:33 PM, Corbin Simpson wrote: On Wed, Aug 17, 2011 at 9:56 AM, Lauri Kasanen wrote: My understanding is that Mesa is c99 (with such includes for some systems included in the tree). Are there really c99 compilers that would choke on that? Sadly, no. We do C89 in the non-compil

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-17 Thread Corbin Simpson
On Wed, Aug 17, 2011 at 9:56 AM, Lauri Kasanen wrote: > My understanding is that Mesa is c99 (with such includes for some systems > included in the tree). Are there really c99 compilers that would choke on > that? Sadly, no. We do C89 in the non-compiler-specific areas of Gallium. ~ C. -- Wh

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-17 Thread Christoph Bumiller
On 17.08.2011 18:56, Lauri Kasanen wrote: > On Wed, 17 Aug 2011 09:13:24 -0600 > Brian Paul wrote: > >> I don't know if this is possible, but could the post-processor be >> constructed as another gallium driver that wraps other drivers? For >> example, the rbug driver is a wrapper driver that i

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-17 Thread Lauri Kasanen
On Wed, 17 Aug 2011 09:13:24 -0600 Brian Paul wrote: > I don't know if this is possible, but could the post-processor be > constructed as another gallium driver that wraps other drivers? For > example, the rbug driver is a wrapper driver that intercepts most of > the context/screen methods an

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-17 Thread Brian Paul
On 08/17/2011 01:41 AM, Lauri Kasanen wrote: On Tue, 16 Aug 2011 18:44:35 -0600 Brian Paul wrote: Hi Thanks for taking the time to read them through. Patch 07 seems still stuck in the ML moderation queue. The set builds on top of the three cleanup patches sent earlier; they haven't been ap

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-17 Thread Lauri Kasanen
On Tue, 16 Aug 2011 18:44:35 -0600 Brian Paul wrote: Hi Thanks for taking the time to read them through. Patch 07 seems still stuck in the ML moderation queue. > > The set builds on top of the three cleanup patches sent earlier; they > > haven't been applied to master, nor have gotten any com

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Brian Paul
On Tue, Aug 16, 2011 at 8:24 AM, Lauri Kasanen 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 tes

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Lauri Kasanen
On Tue, 16 Aug 2011 12:48:17 -0400 Tom Stellard wrote: > 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 Thanks for the info, that's better than my earlier floor(a+0.5). I

Re: [Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Tom Stellard
On Tue, Aug 16, 2011 at 10:24 AM, Lauri Kasanen 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 te

[Mesa-dev] [PATCH 0/11] Post-processing infrastructure / gsoc work

2011-08-16 Thread Lauri Kasanen
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 MLA