i965/fs: Move varying uniform offset compuation into the helper func.
authorEric Anholt <eric@anholt.net>
Wed, 13 Mar 2013 19:27:17 +0000 (12:27 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 1 Apr 2013 23:17:25 +0000 (16:17 -0700)
commit8c694dfe6478ce9355c866ae70db45e49e499de3
tree26f85c64448e172e66aabfa10641539b73c07a12
parent59e858861caad2649f4c282eb277a7fc6202ab65
i965/fs: Move varying uniform offset compuation into the helper func.

I'm going to want to change the math for gen7 using sampler LD
instructions in a way that gets CSE to occur like we'd hope.

NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp