freedreno: On a5xx+ INDX_SIZE is MAX_INDICES
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 25 Jun 2020 13:35:28 +0000 (15:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 26 Jun 2020 10:05:24 +0000 (10:05 +0000)
commita32fb2f9d037ee6cd66c6883d3bbda52f1d79f21
treea583aa57db35f069a6fcce787c8c1386b3895dd6
parent1dd24bf27b2b1da65cf66f58481ec2331179b4e0
freedreno: On a5xx+ INDX_SIZE is MAX_INDICES

This was already done correctly for the indirect variants, and turnip
was setting the correct value, but it seems freedreno missed the change
in the non-indirect variant. Also, fix a misspelling of "indices" and
add a type to INDX_SIZE.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5644>
src/freedreno/registers/adreno_pm4.xml
src/gallium/drivers/freedreno/a4xx/fd4_draw.h
src/gallium/drivers/freedreno/a5xx/fd5_draw.h
src/gallium/drivers/freedreno/a6xx/fd6_draw.c