i965/fs: Pass const references to instruction functions.
authorMatt Turner <mattst88@gmail.com>
Sat, 28 Jun 2014 20:40:52 +0000 (13:40 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 1 Jul 2014 05:31:05 +0000 (22:31 -0700)
commite4b05af5d42b192ead493bc6ef9061ae57390058
treec9aa855ff41b756fc47eb7134af537018e702dfd
parent5d5c20920e0e570742a497aa047e99a2fa3c04f2
i965/fs: Pass const references to instruction functions.

   text    data     bss     dec     hex filename
4270747  123200   39648 4433595  43a6bb i965_dri.so
4244821  123200   39648 4407669  434175 i965_dri.so

Cuts 25k of .text and saves a bunch of useless struct copies.

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