i965: Pass nir_src/nir_dest by reference.
authorMatt Turner <mattst88@gmail.com>
Thu, 19 May 2016 21:43:23 +0000 (14:43 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 20 May 2016 17:04:06 +0000 (10:04 -0700)
commitfb5dcb81cc121e4355b7eef014474a5c42a2f6db
treeb19281f229267d0c1c83341c37be611aa12a344d
parent9ca5ec2a317f00dd03d11c3463d4354baf21aaf0
i965: Pass nir_src/nir_dest by reference.

Cuts 6K of .text.

   text    data     bss     dec     hex filename
5772372  264648   29320 6066340  5c90a4 lib/i965_dri.so before
5766074  264648   29320 6060042  5c780a lib/i965_dri.so after

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4.h
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp