i965/vs: Convert gen6 userclip handling to new generators.
authorEric Anholt <eric@anholt.net>
Sat, 27 Aug 2011 18:07:05 +0000 (11:07 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 31 Aug 2011 18:15:54 +0000 (11:15 -0700)
commitead7ffc62a99c83c3f41a3f229cfbb9ed1826df0
tree6c192081504bb939987048b12d48fd64d39fe46f
parent2f12be5c952ec84eece74a321e5b0a92314aba3a
i965/vs: Convert gen6 userclip handling to new generators.

This DP4 had one of its operands missing, so we were generating
garbage clip distances.  Using the per-opcode instruction generators
made it obvious.

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