From: Matt Turner Date: Mon, 26 Oct 2015 02:16:39 +0000 (-0700) Subject: i965: Print the type and writemask on null destinations. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18b194925f5f80eccb53e07609083049b981d60c;p=mesa.git i965: Print the type and writemask on null destinations. These are often useful in debugging, and the writemask (actually "Channel Enables") determines more than just what goes into the destination. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 7cbdbafa536..df747107188 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -726,7 +726,7 @@ reg(FILE *file, unsigned _reg_file, unsigned _reg_nr) switch (_reg_nr & 0xf0) { case BRW_ARF_NULL: string(file, "null"); - return -1; + break; case BRW_ARF_ADDRESS: format(file, "a%d", _reg_nr & 0x0f); break;