shader-packing
[mesa.git] / src / gallium / drivers / nouveau / codegen / nv50_ir_print.cpp
index 7db9bf0caa27ddd5c78187e2f8bc17510a809476..5dcbf3c3e0c2449682dabb3489db5076ae0408cb 100644 (file)
@@ -612,7 +612,10 @@ void Instruction::print() const
       if (asFlow()->target.bb)
          PRINT(" %sBB:%i", colour[TXT_BRA], asFlow()->target.bb->getId());
    } else {
-      PRINT("%s ", operationStr[op]);
+      if (asTex())
+         PRINT("%s%s ", operationStr[op], asTex()->tex.scalar ? "s" : "");
+      else
+         PRINT("%s ", operationStr[op]);
       if (op == OP_LINTERP || op == OP_PINTERP)
          PRINT("%s ", interpStr[ipa]);
       switch (op) {