i965: Use get_element_ud to shorten texture header access.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 18 Jan 2014 20:49:58 +0000 (12:49 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Jan 2014 01:18:18 +0000 (17:18 -0800)
commit87e732673598ef3fd08a3432c7975b421b14c8c4
tree06d7dd467838559fbb2b7bbfc95cc6a3b8a5b6c4
parentd40532f260c15d56e5fa836147e02c031a999682
i965: Use get_element_ud to shorten texture header access.

This is shorter, easier to read, and further from the 80 column limit.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp