summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 09:03:47 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 09:03:47 -0700
commit3f6668a4bf28109eb806be019fb235663572b7da (patch)
tree74b70501ff70943d978d843e78f0e9a439982e8c
parent777a5c4f2e7c6c6ec0227a239b1af6c6b86dfab2 (diff)
mesa: dump/debug varying vars list
-rw-r--r--src/mesa/shader/slang/slang_link.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c
index fcd7fbf3ca..aaa8859a63 100644
--- a/src/mesa/shader/slang/slang_link.c
+++ b/src/mesa/shader/slang/slang_link.c
@@ -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);
}