i965: SF: Change calculate_masks to use the VUE map.
authorPaul Berry <stereotype441@gmail.com>
Wed, 24 Aug 2011 22:48:55 +0000 (15:48 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 6 Sep 2011 18:04:44 +0000 (11:04 -0700)
commit84e7d04e1d2ac9621c5fbb0f878164e7c16d2cf7
treeb4f88cfa349dae58b59fe046f8abc31e6c63a5f6
parentaafe2cdf86c22da6c1266f307d89b1c80b59562f
i965: SF: Change calculate_masks to use the VUE map.

Previously, SF code used the idx_to_attr[] array to compute the
location of entries in the VUE map.  This array didn't properly
account for gl_PointSize.  Now we use the VUE map directly.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_sf_emit.c