diff options
author | Ian Romanick <[email protected]> | 2014-10-20 14:40:34 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-10-24 19:54:38 -0700 |
commit | fefead3b63584603278b3388cc9c426a8a44e92c (patch) | |
tree | 7e9063dcc09658f5b81d09e2c16d05e932242d32 /src/glsl/main.cpp | |
parent | 7cbcff06069ad88962115b8b5030e08c74f208cf (diff) |
linker: Rely on _mesa_clear_shader_program_data to clear link information
_mesa_link_shader_program already calls _mesa_clear_shader_program_data
before calling link_shaders, so this is already done.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r-- | src/glsl/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp index feed100822c..96d39153066 100644 --- a/src/glsl/main.cpp +++ b/src/glsl/main.cpp @@ -403,6 +403,8 @@ main(int argc, char **argv) } if ((status == EXIT_SUCCESS) && do_link) { + _mesa_clear_shader_program_data(ctx, whole_program); + link_shaders(ctx, whole_program); status = (whole_program->LinkStatus) ? EXIT_SUCCESS : EXIT_FAILURE; |