Re: [Mesa-dev] [PATCH 2/2] i965/formats: Update the RGB_DXT1 mappings

2017-05-12 Thread Kenneth Graunke
On Friday, May 12, 2017 1:31:56 PM PDT Nanley Chery wrote: > On Fri, May 12, 2017 at 08:39:40AM -0700, Kenneth Graunke wrote: > > On Thursday, May 11, 2017 4:46:27 PM PDT Nanley Chery wrote: > > > The DXT1_RGB* format does not provide the correct behavior for OpenGL in > > > the case where color_0

Re: [Mesa-dev] [PATCH 2/2] i965/formats: Update the RGB_DXT1 mappings

2017-05-12 Thread Nanley Chery
On Fri, May 12, 2017 at 08:39:40AM -0700, Kenneth Graunke wrote: > On Thursday, May 11, 2017 4:46:27 PM PDT Nanley Chery wrote: > > The DXT1_RGB* format does not provide the correct behavior for OpenGL in > > the case where color_0 <= color_1. BC1_RGB_UNORM with a alpha set to 1 > > provides the be

Re: [Mesa-dev] [PATCH 2/2] i965/formats: Update the RGB_DXT1 mappings

2017-05-12 Thread Kenneth Graunke
On Thursday, May 11, 2017 4:46:27 PM PDT Nanley Chery wrote: > The DXT1_RGB* format does not provide the correct behavior for OpenGL in > the case where color_0 <= color_1. BC1_RGB_UNORM with a alpha set to 1 > provides the behavior which matches the spec. > > Bugzilla: https://bugs.freedesktop.or

Re: [Mesa-dev] [PATCH 2/2] i965/formats: Update the RGB_DXT1 mappings

2017-05-11 Thread Tapani Pälli
Yep, this fixes the issue, also other DXT tests what I have are passing fine. Acked-by: Tapani Pälli On 05/12/2017 02:46 AM, Nanley Chery wrote: The DXT1_RGB* format does not provide the correct behavior for OpenGL in the case where color_0 <= color_1. BC1_RGB_UNORM with a alpha set to 1 prov

[Mesa-dev] [PATCH 2/2] i965/formats: Update the RGB_DXT1 mappings

2017-05-11 Thread Nanley Chery
The DXT1_RGB* format does not provide the correct behavior for OpenGL in the case where color_0 <= color_1. BC1_RGB_UNORM with a alpha set to 1 provides the behavior which matches the spec. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100925 Cc: Signed-off-by: Nanley Chery --- src/mes