summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-11-24 09:03:47 -0700
committerBrian Paul <[email protected]>2009-01-06 08:52:19 -0700
commita92af00e2adc1f3557ee69705c49e032286b2da2 (patch)
tree4528b88915a89f7b677fcc5c619348c0c47069d4 /src/mesa
parent36f9d3fa9a4a7b5c25821c5099824c8e3b6ebc95 (diff)
mesa: dump/debug varying vars list
(cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da)
Diffstat (limited to 'src/mesa')
-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 fcd7fbf3ca1..aaa8859a63a 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);
}