broadcom/vc4: Decompose single QUADs to a TRIANGLE_FAN.
authorEric Anholt <eric@anholt.net>
Sat, 25 Nov 2017 06:34:12 +0000 (22:34 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 1 Dec 2017 23:37:28 +0000 (15:37 -0800)
commit230e646a4013ed5d9c80c54d48ef0ac9ee4edbb0
treeacce4e972a5a5573bf71e93673eaa05bde96dc21
parentfefff74b0d1d7a308dafe5079f67fc07baa15f11
broadcom/vc4: Decompose single QUADs to a TRIANGLE_FAN.

No significant difference in the minetest replay, but it should reduce
overhead by not requiring that we write quad indices to index buffers that
we repeatedly re-upload (and making the draw packet smaller, as well).

Over the course of the series the actual game seems to be up by 1-2 fps.
src/gallium/drivers/vc4/vc4_draw.c