[Mesa-dev] [PATCH v2 04/17] etnaviv: Use only DRAW_INSTANCED on GC3000+
Wladimir J. van der Laan
laanwj at gmail.com
Thu Nov 23 08:51:06 UTC 2017
> Can confirm that this completely breaks rendering on GC3000.
>
> I don't know how this happened, I'm sure I tested this before :( maybe
> with a slightly different version of the patch stack.
Solved!
Etnaviv is emitting vertex stream attributes in an unconvential way:
- Write vertex stream address 0 to 0064C
- Then writing vertex stream address 1..n to 00684+n*4
- Write vertex stream control 0 to 00650
- Writing vertex stream control 1..n to 006A4+n*4
Apparently this no longer works with DRAW_INSTANCED.
Will send a patch to fix this; a better way would be to use 00684/006A8 only on
single-vertex-stream GPUs, otherwise write consecutively.
(I must already had this patched locally when I tested this, but regarded as
unnecessary later...)
Wladimir
More information about the mesa-dev
mailing list