i965: Make the userclip flag for the VUE map come from VS prog data.
authorEric Anholt <eric@anholt.net>
Mon, 13 Feb 2012 18:00:14 +0000 (10:00 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 21 Feb 2012 19:53:37 +0000 (11:53 -0800)
commit9f3d3216cf25d8ffed4d72fbce6feacbc2990e4b
tree44ea9993bdd0726ac7adebffe0bb58b25b8667b6
parentb5c409363cfd144b1caad50b77ccc7591de42af2
i965: Make the userclip flag for the VUE map come from VS prog data.

This reduces recomputation of state based on non-clipping-related
transform changes, and is a step toward removing VUE map
recomputation.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_clip.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_gs.c
src/mesa/drivers/dri/i965/brw_sf.c
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c
src/mesa/drivers/dri/i965/gen7_sol_state.c