i965: Enable attribute swizzling (repositioning) in the gen6 SF.
authorEric Anholt <eric@anholt.net>
Fri, 8 Oct 2010 18:16:16 +0000 (11:16 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 8 Oct 2010 19:00:04 +0000 (12:00 -0700)
commit80c0077a6f7908b302e9fd03ab0d2e5c30dcbddd
treefe662a274d88d695ef63c9b3886d940ee6583f9e
parentcac04a93974e7ae773b84e000a2b26391ee2f4bb
i965: Enable attribute swizzling (repositioning) in the gen6 SF.

We were trying to remap a fully-filled array down to only handing the
WM the components it uses.  This is called attribute swizzling, and if
you don't enable it you just get 1:1 mappings of inputs to outputs.

This almost fixes glsl-routing, except for the highest gl_TexCoord[]
indices.
src/mesa/drivers/dri/i965/gen6_sf_state.c