i965: Flip arguments to load_register_reg helpers.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Dec 2018 21:01:07 +0000 (13:01 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Dec 2018 02:39:16 +0000 (18:39 -0800)
commit41a4a6ba6f98d282fe1dde1f35bb38a6d6768596
treecc4d89b2843e7a25fb065ec7d3ff16b98d03bd38
parent34c9dc2537287e697afe4a1be09e9d41ad7a45f1
i965: Flip arguments to load_register_reg helpers.

load_register_imm and load_register_mem take the destination as the
first argument, so I'd like load_register_reg to do the same the sake
of consistency.  Otherwise, reading sequences of mixed LRI/LRM/LRR is
needlessly confusing.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_conditional_render.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/hsw_queryobj.c
src/mesa/drivers/dri/i965/hsw_sol.c
src/mesa/drivers/dri/i965/intel_batchbuffer.c