i965: Add functions to compute offsets within the VUE map.
authorPaul Berry <stereotype441@gmail.com>
Thu, 1 Sep 2011 22:30:21 +0000 (15:30 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 6 Sep 2011 18:03:53 +0000 (11:03 -0700)
commit7bb2dbfc9765c97d9c53ad954342419338018474
tree24b575289d0ed284b13b1647ab745311e4dcbee2
parent45f1d7a66666d849031ffc2b8647149e17cc13bc
i965: Add functions to compute offsets within the VUE map.

Some parts of the i965 driver keep track of locations within the VUE
(vertex URB entry) using byte offsets.  This patch adds inline
functions to compute these byte offsets using the VUE map.

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