glsl: split out libstandalone

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [freedesktop.org] - 25 May 2016 15:31 UTC

Split standalone glsl_compiler into a libstandalone.la and a thin main.cpp. This way drivers can re-use the glsl standalone frontend in their own standalone compilers.

0f982bb glsl: split out libstandalone
src/compiler/Makefile.glsl.am | 16 +-
src/compiler/Makefile.sources | 3 +-
src/compiler/SConscript.glsl | 2 +
src/compiler/glsl/main.cpp | 380 ++-------------------------------
src/compiler/glsl/standalone.cpp | 433 ++++++++++++++++++++++++++++++++++++++
src/compiler/glsl/standalone.h | 51 +++++
6 files changed, 514 insertions(+), 371 deletions(-)

Upstream: cgit.freedesktop.org


  • Share