mesa: dump/debug varying vars list
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2008 16:03:47 +0000 (09:03 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 24 Nov 2008 20:11:05 +0000 (13:11 -0700)
src/mesa/shader/slang/slang_link.c

index 0def44415272fc35282da9ed1d022e8b5aefbbeb..8ac82bf1dbcb771b4e4ba45a164c23cad849b7a2 100644 (file)
@@ -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);
 }