mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 16:30:08 +00:00
21 lines
773 B
Bash
Executable File
21 lines
773 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Building spirv-cross"
|
|
make -j$(nproc)
|
|
|
|
export PATH="./external/glslang-build/StandAlone:./external/spirv-tools-build/tools:.:$PATH"
|
|
echo "Using glslangValidation in: $(which glslangValidator)."
|
|
echo "Using spirv-opt in: $(which spirv-opt)."
|
|
|
|
./test_shaders.py shaders --update || exit 1
|
|
./test_shaders.py shaders --update --opt || exit 1
|
|
./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
|
|
|
|
|