From: Samuel Pitoiset Date: Wed, 29 Jun 2016 13:35:44 +0000 (+0200) Subject: nv50/ir: print EMIT subops in debug mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fa10d1d67472cd2e821c5aa196590d43896a78fb;p=mesa.git nv50/ir: print EMIT subops in debug mode Signed-off-by: Samuel Pitoiset Reviewed-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp index d7b2579d387..6469f71203f 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp @@ -225,6 +225,11 @@ static const char *rcprsqOpStr[] = "", "64h" }; +static const char *emitOpStr[] = +{ + "", "restart" +}; + static const char *DataTypeStr[] = { "-", @@ -590,6 +595,10 @@ void Instruction::print() const if (subOp < ARRAY_SIZE(rcprsqOpStr)) PRINT("%s ", rcprsqOpStr[subOp]); break; + case OP_EMIT: + if (subOp < ARRAY_SIZE(emitOpStr)) + PRINT("%s ", emitOpStr[subOp]); + break; default: if (subOp) PRINT("(SUBOP:%u) ", subOp);