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
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
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
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