i965/fs: Refactor texture result swizzling into a helper function.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Jun 2011 21:45:24 +0000 (14:45 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 19 Jun 2011 00:53:55 +0000 (17:53 -0700)
commit01fa9addf447120e994415ad8fc8246ac234ec27
tree425142f97e90148135d42394db097d7a29d91d5a
parentf1622cfe9c0f37a9b452be1297f187cba8c46e6a
i965/fs: Refactor texture result swizzling into a helper function.

The next patch will add a few additional uses.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp