aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-10-19 14:01:33 +0200
committerSamuel Pitoiset <[email protected]>2016-10-19 23:53:39 +0200
commit03dc87caab25b5c33314ac9ef673fea92c78938e (patch)
treeb2e15ca94fbb3c9c428b80951a5ce3875b5ee265 /src
parent4d35683d91e3d61bf14b76d801bf6ae17237e162 (diff)
nv50/ir: print CCTL subops in debug mode
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp9
1 files changed, 9 insertions, 0 deletions
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);