mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 16:30:08 +00:00
6157bf3cae
- Add new Windows support - Use CMake/CTest instead of Make + shell scripts - Use --parallel in CTest - Fix CTest on Windows - Cleanups in test_shaders.py - Force specific commit for SPIRV-Headers - Fix Inf/NaN odd-ball case by moving to ASM
21 lines
753 B
Bash
Executable File
21 lines
753 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Building spirv-cross"
|
|
make -j$(nproc)
|
|
|
|
export PATH="./external/glslang-build/output/bin:./external/spirv-tools-build/output/bin:.:$PATH"
|
|
echo "Using glslangValidation in: $(which glslangValidator)."
|
|
echo "Using spirv-opt in: $(which spirv-opt)."
|
|
|
|
./test_shaders.py shaders || exit 1
|
|
./test_shaders.py shaders --opt || exit 1
|
|
./test_shaders.py shaders-no-opt || exit 1
|
|
./test_shaders.py shaders-msl --msl || exit 1
|
|
./test_shaders.py shaders-msl --msl --opt || exit 1
|
|
./test_shaders.py shaders-msl-no-opt --msl || exit 1
|
|
./test_shaders.py shaders-hlsl --hlsl || exit 1
|
|
./test_shaders.py shaders-hlsl --hlsl --opt || exit 1
|
|
./test_shaders.py shaders-hlsl-no-opt --hlsl || exit 1
|
|
./test_shaders.py shaders-reflection --reflect || exit 1
|
|
|