i965/gen6+: Respect the VERTEX_PROGRAM_TWO_SIDE flag for shaders.
authorEric Anholt <eric@anholt.net>
Thu, 8 Sep 2011 22:29:02 +0000 (15:29 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 16:46:39 +0000 (09:46 -0700)
commit447c488d77ea9710e0ffc238953917189d3000c7
treef8bf4bdcd5cda56611f08fd955ebe2d7a3fca32f
parentb68e3422ed9a0f16c7015940ffd5ac0361f0ca42
i965/gen6+: Respect the VERTEX_PROGRAM_TWO_SIDE flag for shaders.

Fixes piglit:
vertex-program-two-side enabled front back front2 back2
vertex-program-two-side enabled front back
vertex-program-two-side enabled front2 back2
src/mesa/drivers/dri/i965/brw_vs_constval.c
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen7_sf_state.c