2017-12-05 09:25:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Building spirv-cross"
|
|
|
|
make -j$(nproc)
|
|
|
|
|
2017-12-12 12:28:15 +00:00
|
|
|
export PATH="./external/glslang-build/StandAlone:./external/spirv-tools-build/tools:.:$PATH"
|
2017-12-05 09:25:04 +00:00
|
|
|
echo "Using glslangValidation in: $(which glslangValidator)."
|
|
|
|
echo "Using spirv-opt in: $(which spirv-opt)."
|
|
|
|
|
2017-12-06 09:25:30 +00:00
|
|
|
./test_shaders.py shaders --update || exit 1
|
|
|
|
./test_shaders.py shaders --update --opt || exit 1
|
2018-03-13 11:38:05 +00:00
|
|
|
./test_shaders.py shaders-no-opt --update || exit 1
|
|
|
|
./test_shaders.py shaders-msl --update --msl || exit 1
|
|
|
|
./test_shaders.py shaders-msl --update --msl --opt || exit 1
|
|
|
|
./test_shaders.py shaders-msl-no-opt --update --msl || exit 1
|
|
|
|
./test_shaders.py shaders-hlsl --update --hlsl || exit 1
|
|
|
|
./test_shaders.py shaders-hlsl --update --hlsl --opt || exit 1
|
|
|
|
./test_shaders.py shaders-hlsl-no-opt --update --hlsl || exit 1
|
2018-06-21 14:43:52 +00:00
|
|
|
./test_shaders.py shaders-reflection --reflect --update || exit 1
|
2018-03-13 11:38:05 +00:00
|
|
|
|
2017-12-06 09:25:30 +00:00
|
|
|
|