OSDN Git Service

i965/vec4: Pass const references to vec4_instruction().
authorMatt Turner <mattst88@gmail.com>
Sat, 28 Jun 2014 20:46:29 +0000 (13:46 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 1 Jul 2014 05:31:05 +0000 (22:31 -0700)
commitd35f34cea9558c23700532d4a7142dab2cc342a8
tree2201419c8194d5556b4a0715a3ce439942ba0f5a
parente4b05af5d42b192ead493bc6ef9061ae57390058
i965/vec4: Pass const references to vec4_instruction().

   text    data     bss     dec     hex filename
4244821  123200   39648 4407669  434175 i965_dri.so
4231165  123200   39648 4394013  430c1d i965_dri.so

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

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