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

Marek Olšák maraeo at gmail.com
Tue Sep 6 21:42:03 PDT 2011


On Tue, Sep 6, 2011 at 12:12 PM, Jose Fonseca <jfonseca at vmware.com> wrote:
> ----- 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.

Amended in the attached patch.

Marek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gallium-add-PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS.patch
Type: text/x-diff
Size: 6865 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110907/ad0533de/attachment.patch>


More information about the mesa-dev mailing list