r600g: Request DWORD aligned vertex buffers.
authorFabian Bieler <der.fabe@gmx.net>
Mon, 14 Feb 2011 21:44:42 +0000 (22:44 +0100)
committerAlex Deucher <alexdeucher@gmail.com>
Wed, 23 Feb 2011 16:42:32 +0000 (11:42 -0500)
commit0ed5bf668db24fb56b5b359399099c89531e2a0a
treedc9540f902165faf6cafadb03a2ce519945e205b
parentb65e2195c4a3aeb6179e2ec227ba0a2414efc8af
r600g: Request DWORD aligned vertex buffers.

The spec says that the offsets in the vertex-fetch instructions need to be byte-aligned and makes no specification with regard to the required alignment of the offset and stride in the vertex resource constant register.

However, testing indicates that all three values need to be DWORD aligned.
src/gallium/drivers/r600/r600_pipe.c