i965: don't intepolate clip distances on pre-GEN6.
authorPaul Berry <stereotype441@gmail.com>
Sat, 24 Sep 2011 04:55:20 +0000 (21:55 -0700)
committerPaul Berry <stereotype441@gmail.com>
Wed, 28 Sep 2011 18:38:04 +0000 (11:38 -0700)
commitf02ed012c9d3346ffdea9ecbf03c5818e40a24c7
treec4285c960580be5cec2da0be469186a1d968a4da
parent64ce64a3f88f0c33a3f9a97f231bd98983887e27
i965: don't intepolate clip distances on pre-GEN6.

On pre-GEN6 chips, the VUE slots set aside for clip distance aren't
actually used, so there is no reason for the clipper to waste time
interpolating them.

When commit 62bad54727690bff5ed42a74272e7822fd36cdb6 changed the enum
value used to represent these VUE slots, that caused the clipper to
start interpolating them as an accidental side effect.  This patch
reverts to the old clipper behavior.

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