[PATCH 0/2] Introduce and use cap for MaxVertexAttribRelativeOffset.

Guido Günther agx at sigxcpu.org
Mon Sep 10 10:13:55 UTC 2018


Hi,
On Thu, Sep 06, 2018 at 04:31:12PM +0200, Mathias.Froehlich at gmx.net wrote:
> From: Mathias Fröhlich <Mathias.Froehlich at gmx.net>
> 
> Hi all,
> 
> The following two patches introduce a gallium capability
> to feed gl_constants::MaxVertexAttribRelativeOffset.
> Then adapt etnyviv to return what it can really handle.
> That prevents _mesa_update_vao_derived_arrays from collapsing
> too many attribute arrays into a single binding which is a
> problem for etnaviv.

Thanks. This resolves the issue reported in

    https://lists.freedesktop.org/archives/mesa-dev/2018-August/204104.html

on etnaviv (GC7000) for me.
 -- Guido

> 
> Please review!
> best
> Mathias
> 
> 
> Mathias Fröhlich (2):
>   gallium: New cap PIPE_CAP_MAX_VERTEX_ELEMENT_SRC_OFFSET.
>   etnaviv: Reduce max offset to available hardware bits.
> 
>  src/gallium/auxiliary/util/u_screen.c        | 3 +++
>  src/gallium/docs/source/screen.rst           | 3 +++
>  src/gallium/drivers/etnaviv/etnaviv_screen.c | 2 ++
>  src/gallium/include/pipe/p_defines.h         | 1 +
>  src/mesa/state_tracker/st_extensions.c       | 6 ++++++
>  5 files changed, 15 insertions(+)
> 
> -- 
> 2.17.1
> 


More information about the etnaviv mailing list