r300g: use a simpler fallback for misaligned ushort indices with triangles
authorMarek Olšák <maraeo@gmail.com>
Wed, 22 Dec 2010 23:22:38 +0000 (00:22 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 23 Dec 2010 15:54:59 +0000 (16:54 +0100)
commitaedbf05d31c1a8d7d3c2742524abf2db2422b2fe
tree5dd222c02c476203adf36b847eec72f89c6f15d1
parentc420c0e7d6c4b8fac90fd6a64a49652ac58535fd
r300g: use a simpler fallback for misaligned ushort indices with triangles

If 'start' is odd, render the first triangle with indices embedded
in the command stream, which adds 3 to 'start' and makes it even.
Then continue with the fast path.
src/gallium/drivers/r300/r300_render.c