Re: [Mesa-dev] [PATCH] mesa/swrast: handle sRGB FBOs correctly.

2011-01-10 Thread Dave Airlie
On Tue, Jan 11, 2011 at 1:24 AM, Brian Paul wrote: > On 01/09/2011 08:43 PM, Dave Airlie wrote: >> >> From: Dave Airlie >> >>> From reading EXT_texture_sRGB and EXT_framebuffer_sRGB and interactions >> >> with FBO I've found that swrast is converting the sRGB values to linear >> for >> blending wh

Re: [Mesa-dev] [PATCH] mesa/swrast: handle sRGB FBOs correctly.

2011-01-10 Thread Brian Paul
On 01/09/2011 08:43 PM, Dave Airlie wrote: From: Dave Airlie From reading EXT_texture_sRGB and EXT_framebuffer_sRGB and interactions with FBO I've found that swrast is converting the sRGB values to linear for blending when an sRGB texture is bound as an FBO. According to the spec and further e

[Mesa-dev] [PATCH] mesa/swrast: handle sRGB FBOs correctly.

2011-01-09 Thread Dave Airlie
From: Dave Airlie >From reading EXT_texture_sRGB and EXT_framebuffer_sRGB and interactions with FBO I've found that swrast is converting the sRGB values to linear for blending when an sRGB texture is bound as an FBO. According to the spec and further explained in the framebuffer_sRGB spec this be