On 25 May 2016 at 00:39, Rob Clark <[email protected]> wrote: > From: Rob Clark <[email protected]> > > 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. > > Signed-off-by: Rob Clark <[email protected]> > --- > v2: fix scons build and fix automake hack > > 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(-) > create mode 100644 src/compiler/glsl/standalone.cpp > create mode 100644 src/compiler/glsl/standalone.h > From a build pov it looks great. Thanks !
Reviewed-by: Emil Velikov <[email protected]> -Emil _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
