i965/disasm: fix subreg for dst in Align16 mode
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 25 May 2016 12:29:39 +0000 (14:29 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
commit7c5bf597ef6eb4a33c9ba24827a34cd9fdd67363
treefade4c359a062269a77dddb98a6ce3921e66790f
parentac5a06ff83c32ab14e01e526e729b2fbfe3a2426
i965/disasm: fix subreg for dst in Align16 mode

There is a single bit for this, so it is a binary 0 or 1 meaning
offset 0B or 16B respectively.

v2:
  - Since brw_inst_dst_da16_subreg_nr() is known to be 1, remove it
    from the expression (Curro)

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_disasm.c