i965: Reduce repeated calculation of the attribute-offset-in-VUE.
authorEric Anholt <eric@anholt.net>
Mon, 19 Jul 2010 23:44:38 +0000 (16:44 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 20 Jul 2010 02:29:03 +0000 (19:29 -0700)
commit09788ce10e354b3af6139c04a13b38df18632b13
tree4a245da1d154cca74ec22c82c66b04abc07b132b
parente29cff62734b6aaf0b05dba0b3ed98fe78842a42
i965: Reduce repeated calculation of the attribute-offset-in-VUE.

This cleans up some chipset dependency sprinkled around, and fixes a
potential overflow of the attribute offset array for many vertex
results.
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_clip.h
src/mesa/drivers/dri/i965/brw_clip_tri.c
src/mesa/drivers/dri/i965/brw_clip_util.c