r600: relax stride/alignment requirements for vertices
authorAndre Maasikas <amaasikas@gmail.com>
Wed, 4 Aug 2010 09:49:39 +0000 (12:49 +0300)
committerAndre Maasikas <amaasikas@gmail.com>
Wed, 4 Aug 2010 09:49:39 +0000 (12:49 +0300)
commit8ad5b76d52f1c009f48ea90556633e497b40ba87
tree0f3b824a45280df072cf190c7f411509b5b52536
parent5c2f01bbb076af8b8ae6e1803d95a9ae678c2d1c
r600: relax stride/alignment requirements for vertices

seems hw can do unaligned accesses and unaligned strides
removes extra conversion when using vbo's

however I needed to switch 3 component byte format to 4 component formats
for tests to pass. Somewhat sililar to GL_SHORT fix done earlier

removes assert and gains +2 piglit especially draw-vertices
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/drivers/dri/r600/r700_render.c
src/mesa/drivers/dri/r600/r700_vertprog.c