Re: [Mesa-dev] [PATCH] i965: Fix I/L/LA SNORM formats.

2015-02-26 Thread Chris Forbes
Reviewed-by: Chris Forbes On Fri, Feb 27, 2015 at 5:52 PM, Jason Ekstrand wrote: > I'll admit that I don't know that portion of the code all that well, but it > looks sensible to me. > > Reviewed-by: Jason Ekstrand > > On Thu, Feb 26, 2015 at 3:55 PM, Kenneth Graunke > wrote: >> >> _mesa_choos

Re: [Mesa-dev] [PATCH] i965: Fix I/L/LA SNORM formats.

2015-02-26 Thread Jason Ekstrand
I'll admit that I don't know that portion of the code all that well, but it looks sensible to me. Reviewed-by: Jason Ekstrand On Thu, Feb 26, 2015 at 3:55 PM, Kenneth Graunke wrote: > _mesa_choose_tex_format (texformat.c) tries I8_SNORM, L8_SNORM, and > either L8A8_SNORM or A8L8_SNORM, none of

[Mesa-dev] [PATCH] i965: Fix I/L/LA SNORM formats.

2015-02-26 Thread Kenneth Graunke
_mesa_choose_tex_format (texformat.c) tries I8_SNORM, L8_SNORM, and either L8A8_SNORM or A8L8_SNORM, none of which are supported by our driver. Failing that, it falls back to RGBX for luminance, and RGBA intensity and luminance alpha. So, we need to use swizzle overrrides to obtain the correct va