i965/vs: Split setup_uniform_clipplane_values() into Gen4-5/6-7 parts.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 7 Nov 2012 06:23:03 +0000 (22:23 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Nov 2012 09:27:15 +0000 (01:27 -0800)
commit0ad4360ca1d0bd175d463d4c2ca87f3cfe11ba3f
tree2b8b66547a2eb1edcf704495bc03893c3bd581bd
parentbb284669f85a32900bfec648d68ba4c4300772f4
i965/vs: Split setup_uniform_clipplane_values() into Gen4-5/6-7 parts.

Since Gen4-5 compacts clip planes and Gen6-7 doesn't, it makes sense to
split them into separate code paths.  This patch simply copies the code
to both halves; the next commits will simplify it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp