summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen')
-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 0c143e5150d..78c07572846 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
@@ -236,6 +236,11 @@ static const char *cctlOpStr[] =
"", "", "", "", "", "iv", "ivall"
};
+static const char *barOpStr[] =
+{
+ "sync", "arrive", "red and", "red or", "red popc"
+};
+
static const char *DataTypeStr[] =
{
"-",
@@ -611,6 +616,10 @@ void Instruction::print() const
if (subOp < ARRAY_SIZE(cctlOpStr))
PRINT("%s ", cctlOpStr[subOp]);
break;
+ case OP_BAR:
+ if (subOp < ARRAY_SIZE(barOpStr))
+ PRINT("%s ", barOpStr[subOp]);
+ break;
default:
if (subOp)
PRINT("(SUBOP:%u) ", subOp);