From: Samuel Pitoiset Date: Wed, 19 Oct 2016 12:01:33 +0000 (+0200) Subject: nv50/ir: print CCTL subops in debug mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03dc87caab25b5c33314ac9ef673fea92c78938e;p=mesa.git nv50/ir: print CCTL 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 dbd0f7d1fd3..0c143e5150d 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp @@ -231,6 +231,11 @@ static const char *emitOpStr[] = "", "restart" }; +static const char *cctlOpStr[] = +{ + "", "", "", "", "", "iv", "ivall" +}; + static const char *DataTypeStr[] = { "-", @@ -602,6 +607,10 @@ void Instruction::print() const if (subOp < ARRAY_SIZE(emitOpStr)) PRINT("%s ", emitOpStr[subOp]); break; + case OP_CCTL: + if (subOp < ARRAY_SIZE(cctlOpStr)) + PRINT("%s ", cctlOpStr[subOp]); + break; default: if (subOp) PRINT("(SUBOP:%u) ", subOp);