[Mesa-dev] size of LP_MAX_VBUF_SIZE

Dave Airlie airlied at gmail.com
Thu Feb 20 01:45:14 UTC 2020


Anyone know why LP_MAX_VBUF_SIZE is only 4K?

Tess submits > 100K verts to the draw pipeline, which start to split
them, due to the 4K size of the above it splits 50 vertices per vbuf,
however it then calls draw_reset_vertex_ids which iterates over all
100K vertices each time.

I might try fixing the reset, but I wondered why this was only sending
50 vertices at a time to the rasterizer.


More information about the mesa-dev mailing list