glsl: add new program driver function to standalone compiler
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 19 Nov 2016 00:11:04 +0000 (11:11 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 19 Nov 2016 04:00:12 +0000 (15:00 +1100)
commit0c85d2fea406df033c27201ba5e7257874a67a9a
tree70ae2ccce956ab965453036d0c8cf5d7d4bbf465
parentff0253a5ede3acb70852c224f1cf50357781ae81
glsl: add new program driver function to standalone compiler

This fixes a regression with the standalone compiler caused by
9d96d3803ab5dc

Note that we change standalone_compiler_cleanup() to no longer
explicitly free the linked shaders as the will be freed when
we free the parent ctx whole_program.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98774
src/compiler/glsl/standalone.cpp