Module: Mesa Branch: master Commit: 3817a54912a6c51fa0a7ec64787a69007bda44fa URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3817a54912a6c51fa0a7ec64787a69007bda44fa
Author: Brian Paul <[email protected]> Date: Wed Jun 17 07:44:04 2009 -0600 glsl: call _mesa_postprocess_program(), disabled --- src/mesa/shader/slang/slang_link.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/mesa/shader/slang/slang_link.c b/src/mesa/shader/slang/slang_link.c index 5ea89d2..f6032d1 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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
