From: Brian Paul Date: Wed, 17 Jun 2009 13:44:04 +0000 (-0600) Subject: glsl: call _mesa_postprocess_program(), disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3817a54912a6c51fa0a7ec64787a69007bda44fa;p=mesa.git glsl: call _mesa_postprocess_program(), disabled --- diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 5ea89d2ff3e..f6032d1e9ad 100644 --- a/src/mesa/shader/slang/slang_link.c +++ b/src/mesa/shader/slang/slang_link.c @@ -843,6 +843,14 @@ _slang_link(GLcontext *ctx, } } + /* Debug: */ + if (0) { + if (shProg->VertexProgram) + _mesa_postprocess_program(ctx, &shProg->VertexProgram->Base); + if (shProg->FragmentProgram) + _mesa_postprocess_program(ctx, &shProg->FragmentProgram->Base); + } + if (ctx->Shader.Flags & GLSL_DUMP) { _mesa_printf("Varying vars:\n"); _mesa_print_parameter_list(shProg->Varying);