Re: [Mesa-dev] [PATCH] mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED

2012-01-27 Thread Eric Anholt
On Thu, 26 Jan 2012 13:55:37 -0800, Ian Romanick wrote: > On 01/26/2012 06:40 AM, Brian Paul wrote: > > On Tue, Jan 24, 2012 at 10:58 PM, Anuj Phogat wrote: > >> Color clamping should be enabled in glGetTexImage if texture dataType is > >> GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_L

Re: [Mesa-dev] [PATCH] mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED

2012-01-26 Thread Anuj Phogat
On Thu, Jan 26, 2012 at 2:56 PM, Brian Paul wrote: > On Thu, Jan 26, 2012 at 4:55 PM, Ian Romanick wrote: > > On 01/26/2012 06:40 AM, Brian Paul wrote: > >> > >> On Tue, Jan 24, 2012 at 10:58 PM, Anuj Phogat > >> wrote: > >>> > >>> Color clamping should be enabled in glGetTexImage if texture da

Re: [Mesa-dev] [PATCH] mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED

2012-01-26 Thread Brian Paul
On Thu, Jan 26, 2012 at 4:55 PM, Ian Romanick wrote: > On 01/26/2012 06:40 AM, Brian Paul wrote: >> >> On Tue, Jan 24, 2012 at 10:58 PM, Anuj Phogat >>  wrote: >>> >>> Color clamping should be enabled in glGetTexImage if texture dataType is >>> GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or

Re: [Mesa-dev] [PATCH] mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED

2012-01-26 Thread Ian Romanick
On 01/26/2012 06:40 AM, Brian Paul wrote: On Tue, Jan 24, 2012 at 10:58 PM, Anuj Phogat wrote: Color clamping should be enabled in glGetTexImage if texture dataType is GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_LUMINANCE_ALPHA Fixes 2 Intel oglconform test cases: pxconv-gettex and

Re: [Mesa-dev] [PATCH] mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED

2012-01-26 Thread Brian Paul
On Tue, Jan 24, 2012 at 10:58 PM, Anuj Phogat wrote: > Color clamping should be enabled in glGetTexImage if texture dataType is > GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_LUMINANCE_ALPHA > > Fixes 2 Intel oglconform test cases: pxconv-gettex and pxtrans-gettex > https://bugs.freedes

[Mesa-dev] [PATCH] mesa: set clamp bit in glGetTexImage for GL_UNSIGNED_NORMALIZED

2012-01-24 Thread Anuj Phogat
Color clamping should be enabled in glGetTexImage if texture dataType is GL_UNSIGNED_NORMALIZED and format is GL_LUMINANCE or GL_LUMINANCE_ALPHA Fixes 2 Intel oglconform test cases: pxconv-gettex and pxtrans-gettex https://bugs.freedesktop.org/show_bug.cgi?id=40864 NOTE: This is a candidate for t