i965/fs: Move sampler fetch to the top of the ir_texture visit function.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Jun 2011 21:49:36 +0000 (14:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 19 Jun 2011 00:53:53 +0000 (17:53 -0700)
commitf1622cfe9c0f37a9b452be1297f187cba8c46e6a
treeb388cb4f7e68f0965c051663deddc8943ea5f433
parent6c947cfd1973c3791d54f1406c973357b4a9621a
i965/fs: Move sampler fetch to the top of the ir_texture visit function.

This makes it available earlier, which will soon be necessary.
(Separating code motion from actual changes.)

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