diff options
author | Dave Airlie <[email protected]> | 2018-02-26 11:05:26 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-02-26 11:05:26 +1000 |
commit | 4d72a1efeaa2266cd8ea512d5d2279325d6e3807 (patch) | |
tree | f477a934f55b11de1f81a635d02efc5a8fb002c0 /src/gallium/drivers/r600 | |
parent | 22430224fec31591432d4a3e65c6f457ba1c1653 (diff) |
r600: add time lo/hi debugging output.
This just adds the these to the debug prints.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 6 | ||||
-rw-r--r-- | src/gallium/drivers/r600/sb/sb_bc_dump.cpp | 6 |
2 files changed, 12 insertions, 0 deletions
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; |