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)
committerChad Versace <chad.versace@linux.intel.com>
Fri, 25 Jan 2013 05:10:46 +0000 (21:10 -0800)
commitca7d332253e237c51fdf5c88a8f7937e65e8abff
tree499f9fc64054090613f8e73ef9ff040b8f7147d5
parentd1f2e9699f3e5e7649fc12c4f2409af91d2494fe
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>
src/mesa/drivers/dri/i965/brw_disasm.c