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.cpp10
1 files changed, 10 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 f95d515c3fc..d7b2579d387 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
@@ -220,6 +220,11 @@ static const char *pixldOpStr[] =
"count", "covmask", "offset", "cent_offset", "sampleid"
};
+static const char *rcprsqOpStr[] =
+{
+ "", "64h"
+};
+
static const char *DataTypeStr[] =
{
"-",
@@ -580,6 +585,11 @@ void Instruction::print() const
if (subOp < ARRAY_SIZE(pixldOpStr))
PRINT("%s ", pixldOpStr[subOp]);
break;
+ case OP_RCP:
+ case OP_RSQ:
+ if (subOp < ARRAY_SIZE(rcprsqOpStr))
+ PRINT("%s ", rcprsqOpStr[subOp]);
+ break;
default:
if (subOp)
PRINT("(SUBOP:%u) ", subOp);