Re: [Mesa-dev] [PATCH 3/3] i965/vs: Fix user clip plane setup on Gen4-5.

2012-11-12 Thread Eric Anholt
Kenneth Graunke writes: > On Gen6-7, we don't compact clip planes, and nr_userclip_plane_consts > is the last bit set, so iterating from i = 0..nr_userclip_plane_consts > covers all active clip planes and is the right thing to do. > works and is the right thing to do. > > However, that doesn't wo

[Mesa-dev] [PATCH 3/3] i965/vs: Fix user clip plane setup on Gen4-5.

2012-11-06 Thread Kenneth Graunke
On Gen6-7, we don't compact clip planes, and nr_userclip_plane_consts is the last bit set, so iterating from i = 0..nr_userclip_plane_consts covers all active clip planes and is the right thing to do. works and is the right thing to do. However, that doesn't work at all on Gen4-5. Since we don't