i965/fs: Use const fs_reg & rather than a copy or pointer.
authorMatt Turner <mattst88@gmail.com>
Wed, 29 Oct 2014 20:58:45 +0000 (13:58 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 2 Dec 2014 00:42:13 +0000 (16:42 -0800)
commitb37273b92431a2d986235774f04a9fba2aa1bf74
tree60e2fe60bb77359d6d6cf8aa739ae1190d65a564
parent60d507c3c5c7caed57119df0ab4d824ad1ea85dc
i965/fs: Use const fs_reg & rather than a copy or pointer.

Also while we're touching var_from_reg, just make it an inline function.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs_dead_code_eliminate.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.cpp
src/mesa/drivers/dri/i965/brw_fs_live_variables.h
src/mesa/drivers/dri/i965/brw_fs_saturate_propagation.cpp