Revert "glsl: clone inputs and outputs during linking"
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Jun 2015 05:17:16 +0000 (22:17 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 29 Jun 2015 05:20:27 +0000 (22:20 -0700)
commit6218c68bece0cea671f2940a651119a87ab8b24e
treec9fb84243de1bdad50d9f818006435e98178bbc5
parentcae701fc8ed0faeaaaafd1cf57f6143031edcab2
Revert "glsl: clone inputs and outputs during linking"

This reverts commit c2ff3485b3d48749ea9dcad07bc1a691627dc3e5.

Ilia and I noticed a memory leak caused by this patch: at least with
fixed-function programs, we clone things using ProgramResourceList as
the context before reralloc makes it non-NULL.

I believe Tapani found other bugs with these patches, so I'm just going
to revert them for now and let him pursue them further.
src/glsl/linker.cpp