From 937ddb419da28992eb7cc516459281758ff6b720 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 3 Nov 2014 09:23:33 -0800 Subject: [PATCH] i965/disasm: Disassemble tdr and tm registers properly. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_disasm.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.30.2