From a92af00e2adc1f3557ee69705c49e032286b2da2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 24 Nov 2008 09:03:47 -0700 Subject: [PATCH] mesa: dump/debug varying vars list (cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da) --- src/mesa/shader/slang/slang_link.c | 5 +++++ 1 file changed, 5 insertions(+) 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); } -- 2.30.2