summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 09:03:47 -0700
committerBrian Paul <brianp@vmware.com>2009-01-06 08:52:19 -0700
commita92af00e2adc1f3557ee69705c49e032286b2da2 (patch)
tree4528b88915a89f7b677fcc5c619348c0c47069d4
parent36f9d3fa9a4a7b5c25821c5099824c8e3b6ebc95 (diff)
mesa: dump/debug varying vars list
(cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da)
-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);
}