On Thu, Aug 7, 2014 at 10:31 AM,  <ville.syrj...@linux.intel.com> wrote:
> diff --git a/src/mesa/main/texformat.c b/src/mesa/main/texformat.c
> index c61a748..f414ea3 100644
> --- a/src/mesa/main/texformat.c
> +++ b/src/mesa/main/texformat.c
>     case GL_ALPHA12:
>     case GL_ALPHA16:
>        RETURN_IF_SUPPORTED(MESA_FORMAT_A_UNORM16);
>        RETURN_IF_SUPPORTED(MESA_FORMAT_A_UNORM8);
> +      RETURN_IF_SUPPORTED(MESA_FORMAT_L8A8_UNORM);
>        break;

I know this isn't exactly what your patch looked to support, but
shouldn't MESA_FORMAT_L16A16_UNORM be tried as a lossless alternative
also?
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to