blob: ac85720d3de16456823ddc98a0e8b90ee1c3584a [file] [log] [blame]
John Kessenicha0af4732012-12-12 21:15:54 +00001#! /bin/bash
2
John Kessenicha5ea9c62013-08-13 00:58:49 +00003rm -f StandAlone/glsangValidator
4rm -f glslang/MachineIndependent/lib/libglslang.so
John Kesseniche0ab8db2013-07-08 21:50:31 +00005
John Kessenicha0af4732012-12-12 21:15:54 +00006# build the StandAlone app and all it's dependencies
7make -C StandAlone
8
9# so we can find the shared library
John Kessenicha5ea9c62013-08-13 00:58:49 +000010LD_LIBRARY_PATH=`pwd`/glslang/MachineIndependent/lib
John Kessenicha0af4732012-12-12 21:15:54 +000011export LD_LIBRARY_PATH
12
13# run using test data
John Kessenich4d5de022013-04-13 06:05:31 +000014cd Test
John Kessenich8d2fe452013-08-05 16:36:49 +000015../StandAlone/glslangValidator -i sample.vert sample.frag