i965: Add user clip planes support to gen6.
authorEric Anholt <eric@anholt.net>
Wed, 27 Oct 2010 18:00:14 +0000 (11:00 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 28 Oct 2010 21:45:11 +0000 (14:45 -0700)
commite30a3e7aa09c373c0a02df555d090693718f0fe8
tree40bb282eefbdfc28ea353e7d27b8b73d2a8f6eca
parent85a08f8fc761d8501fc315d16df6ce0fba9f091e
i965: Add user clip planes support to gen6.

Fixes piglit user-clip, and compiz desktop switching when dragging a
window and using just 2 desktops.  Bug #30446.
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/gen6_clip_state.c
src/mesa/drivers/dri/i965/gen6_sf_state.c
src/mesa/drivers/dri/i965/gen6_vs_state.c