On Sun, Dec 16, 2012 at 9:50 AM, Christoph Bumiller <e0425...@student.tuwien.ac.at> wrote: > --- > src/gallium/docs/source/screen.rst | 3 +++ > src/gallium/include/pipe/p_defines.h | 3 ++- > 2 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/docs/source/screen.rst > b/src/gallium/docs/source/screen.rst > index 6c89171..f520704 100644 > --- a/src/gallium/docs/source/screen.rst > +++ b/src/gallium/docs/source/screen.rst > @@ -136,6 +136,9 @@ The integer capabilities: > expected for a pointer returned by transfer_map if the resource is > PIPE_BUFFER. In other words, the pointer returned by transfer_map is > always aligned to this value. > +* ``PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT``: Describes the required > + alignment for pipe_sampler_view::u.buf.first_element, in bytes. > + If a driver does not support first/last_element, it should return 0. > > > .. _pipe_capf: > diff --git a/src/gallium/include/pipe/p_defines.h > b/src/gallium/include/pipe/p_defines.h > index a751b8a..af8fbbf 100644 > --- a/src/gallium/include/pipe/p_defines.h > +++ b/src/gallium/include/pipe/p_defines.h > @@ -492,7 +492,8 @@ enum pipe_cap { > PIPE_CAP_TEXTURE_MULTISAMPLE = 74, > PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT = 75, > PIPE_CAP_CUBE_MAP_ARRAY = 76, > - PIPE_CAP_TEXTURE_BUFFER_OBJECTS = 77 > + PIPE_CAP_TEXTURE_BUFFER_OBJECTS = 77, > + PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT = 78 > }; >
Reviewed-by: Brian Paul <bri...@vmware.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev