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

2019-07-01 Thread Alyssa Rosenzweig
> 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". Hmm, I see. A bit more complex than I was hoping for the moment. signature.asc Description: PGP signa

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

2019-07-01 Thread Ilia Mirkin
On Mon, Jul 1, 2019 at 10:56 AM Alyssa Rosenzweig 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

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

2019-07-01 Thread Alyssa Rosenzweig
We implement GLES3.0 instanced rendering with full support for instanced arrays (via instance divisors). To do so, we use the new invocation helpers to invoke a triplet of (1, vertex_count, instance_count), rather than simply (1, vertex_count, 1). We rewrite the attribute handling code into a new p