summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_link.c
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 13:11:05 -0700
commit68020ca2af2724eb561a3c3a1e845c82bc896767 (patch)
treec82c89e97da3a2de6fed708688ccaaa5ff3e46bf /src/mesa/shader/slang/slang_link.c
parent30685749295e489e8875111b1edc917742ce2c00 (diff)
mesa: dump/debug varying vars list
Diffstat (limited to 'src/mesa/shader/slang/slang_link.c')
-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 0def444152..8ac82bf1db 100644
--- a/src/mesa/shader/slang/slang_link.c
+++ b/src/mesa/shader/slang/slang_link.c
@@ -605,6 +605,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);
}