mesa: dump/debug varying vars list
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2008 16:03:47 +0000 (09:03 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Jan 2009 15:52:19 +0000 (08:52 -0700)
(cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da)

src/mesa/shader/slang/slang_link.c

index fcd7fbf3ca13652d91a5436c3f4de9d94acc8e9f..aaa8859a63a63c14d69dc2a96d03c9a257066887 100644 (file)
@@ -606,6 +606,11 @@ _slang_link(GLcontext *ctx,
       }
    }
 
+   if (MESA_VERBOSE & VERBOSE_GLSL_DUMP) {
+      printf("Varying vars:\n");
+      _mesa_print_parameter_list(shProg->Varying);
+   }
+
    shProg->LinkStatus = (shProg->VertexProgram || shProg->FragmentProgram);
 }