From: Matt Turner Date: Mon, 3 Nov 2014 17:23:33 +0000 (-0800) Subject: i965/disasm: Disassemble tdr and tm registers properly. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=937ddb419da28992eb7cc516459281758ff6b720;p=mesa.git i965/disasm: Disassemble tdr and tm registers properly. 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 dd7bb4377f7..7405d9bfd99 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -697,6 +697,12 @@ reg(FILE *file, unsigned _reg_file, unsigned _reg_nr) string(file, "ip"); return -1; break; + case BRW_ARF_TDR: + format(file, "tdr0"); + return -1; + case BRW_ARF_TIMESTAMP: + format(file, "tm%d", _reg_nr & 0x0f); + break; default: format(file, "ARF%d", _reg_nr); break;