[Mesa-dev] [PATCH 01/13] gallium: add PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS

Jose Fonseca jfonseca at vmware.com
Tue Sep 6 03:12:14 PDT 2011


----- Original Message -----
> On 05.09.2011 23:44, Marek Olšák wrote:
> > ---
> >  src/gallium/include/pipe/p_defines.h   |    1 +
> >  src/mesa/state_tracker/st_extensions.c |    3 +++
> >  2 files changed, 4 insertions(+), 0 deletions(-)
> >
> > diff --git a/src/gallium/include/pipe/p_defines.h
> > b/src/gallium/include/pipe/p_defines.h
> > index 19c0cab..9a9ce2e 100644
> > --- a/src/gallium/include/pipe/p_defines.h
> > +++ b/src/gallium/include/pipe/p_defines.h
> > @@ -474,6 +474,7 @@ enum pipe_cap {
> >     PIPE_CAP_SCALED_RESOLVE = 49,
> >     PIPE_CAP_MIN_TEXEL_OFFSET = 50,
> >     PIPE_CAP_MAX_TEXEL_OFFSET = 51,
> > +   PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS = 52
> >  };
> >  
> Can we remove the old PIPE_CAP_ARRAY_TEXTURES then in favour of
> returning 0 as maximum number of layers ?

I'd like that too FWIW.

Jose


More information about the mesa-dev mailing list