i965: Refactor Gen6+ SF attribute override code.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Feb 2013 20:33:21 +0000 (12:33 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 3 Feb 2013 21:40:31 +0000 (13:40 -0800)
commitb3efc5bea85a84493a4b81eea0d3c3acfe42813f
tree63a93e8ad0c9d0656cf57e93d470d74570ae4529
parent488ddb247c0f188d3f918e5869a8e529766d13ba
i965: Refactor Gen6+ SF attribute override code.

The next patch will benefit from easy access to the source attribute
number and whether or not we're swizzling.  It doesn't want the final
attr_override DWord form, however.

NOTE: This is a candidate for all stable branches.
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Tested-by: Martin Steigerwald <martin@lichtvoll.de>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_sf_state.c