diff options
author | Brian Paul <[email protected]> | 2009-06-17 07:44:04 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-06-17 09:58:29 -0600 |
commit | 3817a54912a6c51fa0a7ec64787a69007bda44fa (patch) | |
tree | 1e7db9c1289d5c553821b9f3fd52b7112eb96ebf /src/mesa | |
parent | 516d20fd2688fce833b764ca21f1f1772bed0a03 (diff) |
glsl: call _mesa_postprocess_program(), disabled
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 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); |