i965/vec4: Replace src_reg(imm) constructors with brw_imm_*().
authorMatt Turner <mattst88@gmail.com>
Mon, 2 Nov 2015 20:12:44 +0000 (12:12 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 19 Nov 2015 19:12:24 +0000 (11:12 -0800)
commitf9a9ba5eac2f1934bd7fecc92cd309f22411164b
tree9bca94feec1b253d8810400c9d6798b436512bc3
parent9b978046eb1d1657060365e8dcde4aad41b50af9
i965/vec4: Replace src_reg(imm) constructors with brw_imm_*().

Cuts 1.5k of .text.

Reviewed-by: Emil Velikov <emil.velikov@collabora.co.uk>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
12 files changed:
src/mesa/drivers/dri/i965/brw_ir_vec4.h
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_builder.h
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_surface_builder.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_vs_visitor.cpp
src/mesa/drivers/dri/i965/gen6_gs_visitor.cpp
src/mesa/drivers/dri/i965/test_vec4_cmod_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp