On Fri, Aug 15, 2014 at 10:52:50AM +0200, Erik Faye-Lund wrote:
> 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?

I suppose, but I suspect you'll have a hard time finding hardware that
supports L16A16 but not A16.

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to