Re: [Mesa-dev] [PATCH 10/11] freedreno: a2xx: split large draws on a20x

2018-09-17 Thread Ilia Mirkin
By the way, apparently VC4 has this restriction as well. Eric Anholt covered more primitives in his logic, but also skipped trifans: https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/drivers/vc4/vc4_draw.c#n431 I think it's worth copying some of that in here, or if you're feeling generous,

Re: [Mesa-dev] [PATCH 10/11] freedreno: a2xx: split large draws on a20x

2018-09-17 Thread Ilia Mirkin
On Mon, Sep 17, 2018 at 2:22 PM, Jonathan Marek wrote: > a20x can only draw 65535 vertices at once. this fix only applies to > triangles. > > Signed-off-by: Jonathan Marek > --- > src/gallium/drivers/freedreno/a2xx/fd2_draw.c | 30 +-- > 1 file changed, 28 insertions(+), 2 deleti

[Mesa-dev] [PATCH 10/11] freedreno: a2xx: split large draws on a20x

2018-09-17 Thread Jonathan Marek
a20x can only draw 65535 vertices at once. this fix only applies to triangles. Signed-off-by: Jonathan Marek --- src/gallium/drivers/freedreno/a2xx/fd2_draw.c | 30 +-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_draw.c b