OSDN Git Service

i965: Stop worrying about alignment of vertex data.
authorEric Anholt <eric@anholt.net>
Wed, 23 Jan 2013 01:27:14 +0000 (17:27 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 25 Jan 2013 17:40:33 +0000 (09:40 -0800)
commit5ae3c207918e10282f53402ae276b31b2235c2dc
tree1266fc72ec1d98464d1f7d047ab6595c607b8c2b
parent2a7a5062c9821bb986ed50e866c27ec26c4a41af
i965: Stop worrying about alignment of vertex data.

For our current types, the required alignment is actually just 1 byte.
When we get doubles, we have to worry (those have to be aligned to the
natural size), but we don't have doubles yet and they'll just be a
special case.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw_upload.c