Re: [Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Kenneth Graunke
On 09/24/2012 07:23 AM, Paul Berry wrote: > Commit e2249e8c4d06a85d6389ba1689e15d7e29aa4dff (i965/blorp: Add > support for blits between SRGB and linear formats) changed blorp to > always configure surface states for in linear format (even if the > underlying surface is sRGB). This allowed sRGB-to

Re: [Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Paul Berry
On 24 September 2012 12:12, Eric Anholt wrote: > Paul Berry writes: > > + /* If we are blitting from sRGB to linear or vice versa, we still > want the > > +* blit to be a direct copy, so we need source and destination to > use the > > +* same format. However, we want the destination s

Re: [Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Eric Anholt
Paul Berry writes: > + /* If we are blitting from sRGB to linear or vice versa, we still want the > +* blit to be a direct copy, so we need source and destination to use the > +* same format. However, we want the destination sRGB/linear state to be > +* correct (so that sRGB blendin

[Mesa-dev] [PATCH] i965/blorp: Fix sRGB MSAA resolves.

2012-09-24 Thread Paul Berry
Commit e2249e8c4d06a85d6389ba1689e15d7e29aa4dff (i965/blorp: Add support for blits between SRGB and linear formats) changed blorp to always configure surface states for in linear format (even if the underlying surface is sRGB). This allowed sRGB-to-linear and linear-to-sRGB blits to occur without