[Mesa-dev] [RFC] [PATCH] mesa/st: set max_int instance_divisor for constant elements

Luca Barbieri luca at luca-barbieri.com
Wed Aug 11 08:07:15 PDT 2010


In the nv30/nv40 (and probably nv50) case, it should simply be faster
to not ask the hardware to fetch a vertex repeatedly, even though the
hardware can do it.

Knowing this in the vertex element CSO allows to do things very
nicely, and in particular
setup a single instance of translate in the vertex element CSO.

The vertex element CSO ends up having instructions for the draw path
to put a command on the FIFO setting the constant before drawing.


More information about the mesa-dev mailing list