[Mesa-dev] [PATCH 7/7] panfrost: Implement instanced rendering

Ilia Mirkin imirkin at alum.mit.edu
Mon Jul 1 14:59:58 UTC 2019


On Mon, Jul 1, 2019 at 10:56 AM Alyssa Rosenzweig
<alyssa.rosenzweig at collabora.com> wrote:
> As a side effect, we rework how vertex buffers are handled, duplicating
> them to be 1:1 with vertex descriptors to simplify instancing code paths
> dramatically. This might be a performance regression, but this remains
> to be seen; if so, we can always deduplicate later with some added logic
> in pan_instancing.c

If you're interested, nouveau has logic to optionally go the shared
(1:N) or non-shared (1:1) way of doing it. Have a look at nvc0_vbo.c
if you're curious -- look for mentions of "shared".

Cheers,

  -ilia


More information about the mesa-dev mailing list