Mesa (master): nv50/ir: print OP_SUREDB subops in debug mode

Samuel Pitoiset hakzsam at kemper.freedesktop.org
Wed Jul 20 09:13:38 UTC 2016


Module: Mesa
Branch: master
Commit: 8489f20689c8d3d372c4143311cca23cd6a5fc58
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8489f20689c8d3d372c4143311cca23cd6a5fc58

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Jul  5 01:53:56 2016 +0200

nv50/ir: print OP_SUREDB subops in debug mode

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
index ae0dd78..22f2f5d 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp
@@ -570,6 +570,7 @@ void Instruction::print() const
          PRINT("%s ", interpStr[ipa]);
       switch (op) {
       case OP_SUREDP:
+      case OP_SUREDB:
       case OP_ATOM:
          if (subOp < ARRAY_SIZE(atomSubOpStr))
             PRINT("%s ", atomSubOpStr[subOp]);




More information about the mesa-commit mailing list