i965: clip: Remove assumption about VUE header from brw_clip_interp_vertex()
authorPaul Berry <stereotype441@gmail.com>
Fri, 26 Aug 2011 19:17:56 +0000 (12:17 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 6 Sep 2011 18:05:34 +0000 (11:05 -0700)
commit4efb32c642507228d5bfebbd6d403dd9944f9b7c
treed676af484a6e31314e74e97b025e8b14ffbe5ead
parent71cb82f63ab156599613f7555a62ad52d2e3dbd7
i965: clip: Remove assumption about VUE header from brw_clip_interp_vertex()

Previously, brw_clip_interp_vertex() iterated only through the
"non-header" elements of the VUE when performing interpolation
(because header elements don't need interpolation).  This code now
refers exclusively to the VUE map to figure out which elements need
interpolation, so that brw_clip_interp_vertex() doesn't need to know
the header size.

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