From: Brian Paul Date: Mon, 24 Nov 2008 16:03:47 +0000 (-0700) Subject: mesa: dump/debug varying vars list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a92af00e2adc1f3557ee69705c49e032286b2da2;p=mesa.git mesa: dump/debug varying vars list (cherry picked from commit 3f6668a4bf28109eb806be019fb235663572b7da) --- 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); }