From 4d72a1efeaa2266cd8ea512d5d2279325d6e3807 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 26 Feb 2018 11:05:26 +1000 Subject: [PATCH] r600: add time lo/hi debugging output. This just adds the these to the debug prints. --- src/gallium/drivers/r600/r600_asm.c | 6 ++++++ src/gallium/drivers/r600/sb/sb_bc_dump.cpp | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index fdccae8c04c..427e7856d28 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -2009,6 +2009,12 @@ static int print_src(struct r600_bytecode_alu *alu, unsigned idx) o += fprintf(stderr, "LDS_OQ_B_POP"); need_chan = 1; break; + case EG_V_SQ_ALU_SRC_TIME_LO: + o += fprintf(stderr, "TIME_LO"); + break; + case EG_V_SQ_ALU_SRC_TIME_HI: + o += fprintf(stderr, "TIME_HI"); + break; case EG_V_SQ_ALU_SRC_SE_ID: o += fprintf(stderr, "SE_ID"); break; diff --git a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp index a3acb21e2fd..9b2674daf27 100644 --- a/src/gallium/drivers/r600/sb/sb_bc_dump.cpp +++ b/src/gallium/drivers/r600/sb/sb_bc_dump.cpp @@ -333,6 +333,12 @@ static void print_src(sb_ostream &s, bc_alu &alu, unsigned idx) case ALU_SRC_0: s << "0"; break; + case ALU_SRC_TIME_LO: + s << "TIME_LO"; + break; + case ALU_SRC_TIME_HI: + s << "TIME_HI"; + break; case ALU_SRC_MASK_LO: s << "MASK_LO"; break; -- 2.30.2