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=68020ca2af2724eb561a3c3a1e845c82bc896767;p=mesa.git mesa: dump/debug varying vars list --- diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 0def4441527..8ac82bf1dbc 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); }