i965/fs: Pass fs_regs by constant reference where possible.
authorMatt Turner <mattst88@gmail.com>
Thu, 20 Feb 2014 04:31:14 +0000 (20:31 -0800)
committerMatt Turner <mattst88@gmail.com>
Sat, 22 Feb 2014 06:51:33 +0000 (22:51 -0800)
commit326fc60ee9457d17fb97a7f49c977743426b0859
treebd7548a03c8815dab32e0b821fffb965ea7b80f4
parent070f20272fcfdcafe5d843d240e876ef5cfda560
i965/fs: Pass fs_regs by constant reference where possible.

These functions (modulo emit_lrp, necessitating the small fix-up) pass
these arguments by value unmodified to other functions. No point in
making an additional copy.

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