i965: Add devinfo parameter to brw_compact_inst_* funcs.
authorMatt Turner <mattst88@gmail.com>
Mon, 19 Oct 2015 21:41:36 +0000 (14:41 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 21 Oct 2015 17:17:37 +0000 (10:17 -0700)
commitee868c46e80d5a394e14846552bcb2fd77df419c
tree996384e342317bd1ad9e0c8c339288518ad6b3b0
parent4a132349c333aba9f4dc264d35d5b366ed5e3759
i965: Add devinfo parameter to brw_compact_inst_* funcs.

The next commit will add assertions dependent on devinfo->gen.

Use compact()/uncompact() macros where possible, like the 3-src code
does.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_eu_compact.c
src/mesa/drivers/dri/i965/brw_inst.h