r3OOg: support rendering of more than 65535 vertices per draw call (almost)
authorMarek Olšák <maraeo@gmail.com>
Sun, 21 Feb 2010 19:49:29 +0000 (20:49 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 22 Feb 2010 02:12:13 +0000 (03:12 +0100)
commit233290f2031057b37fdadb650873b02be307ebc8
treec6034ea6d6cdfb7669a11bed5b066c2345b7c48d
parentc786df2caf54584f1a307d820cbd947db706e20c
r3OOg: support rendering of more than 65535 vertices per draw call (almost)

The path for VAP_ALT_NUM_VERTICES is also in place (and tested)
but not enabled by default due to the missing support of this reg
in the upstream kernel.

Also, a non-zero BUFFER_BASE in the INDX_BUFFER packet3 hangs the machine.
Am I missing something? Because of this, only draw_arrays can render
more than 65535 vertices without the use of VAP_ALT_NUM_VERTICES.
src/gallium/drivers/r300/r300_reg.h
src/gallium/drivers/r300/r300_render.c