mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-12 21:20:06 +00:00
a5ea9c63f7
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22681 e7fa87d3-cd2b-0410-9028-fcbf551c1848
16 lines
373 B
Bash
Executable File
16 lines
373 B
Bash
Executable File
#! /bin/bash
|
|
|
|
rm -f StandAlone/glsangValidator
|
|
rm -f glslang/MachineIndependent/lib/libglslang.so
|
|
|
|
# build the StandAlone app and all it's dependencies
|
|
make -C StandAlone
|
|
|
|
# so we can find the shared library
|
|
LD_LIBRARY_PATH=`pwd`/glslang/MachineIndependent/lib
|
|
export LD_LIBRARY_PATH
|
|
|
|
# run using test data
|
|
cd Test
|
|
../StandAlone/glslangValidator -i sample.vert sample.frag
|