i965/disasm: Fix horizontal stride of dest registers
authorChad Versace <chad.versace@linux.intel.com>
Wed, 23 Jan 2013 19:17:51 +0000 (11:17 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Jan 2013 20:15:39 +0000 (12:15 -0800)
commitd9c7fcff8fb3247f2ff241d97326b329f5bab487
treeb009b6d603e0b50351fba144fa6d3accd2d43f2f
parentbc7112746d4663b814aab018c8c1fb97af03fb42
i965/disasm: Fix horizontal stride of dest registers

The bug: The printed horizontal stride was the numerical value of the
  BRW_HORIZONTAL_$N enum.
The fix: Translate the enum before printing.

Note: This is a candidate for the stable releases.
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
(cherry picked from commit ca7d332253e237c51fdf5c88a8f7937e65e8abff)
src/mesa/drivers/dri/i965/brw_disasm.c