r600g: fix rendering with a vertex attrib having a zero stride
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 13 Dec 2010 03:44:53 +0000 (22:44 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Mon, 13 Dec 2010 04:35:37 +0000 (23:35 -0500)
commit4523285e518702ac9be839851765d8d0d2461eca
treeaa7387cde755957fe43f524a6d258c76e325da21
parentd19b5cbd317620f3977e68fffb7a74793436b7e2
r600g: fix rendering with a vertex attrib having a zero stride

The hardware supports zero stride just fine.  This is a port
of 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 from r300g.

NOTE: This is a candidate for both the 7.9 and 7.10 branches.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
src/gallium/drivers/r600/r600_state_common.c