5ee6b46087
Code fixes from review. Refactor MSL tests back to using the SPIRV-Tools and glslang loaded by checkout_glslang_spirv_tools.sh.
18 lines
656 B
Bash
Executable File
18 lines
656 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-msl --msl --update || exit 1
|
|
./test_shaders.py shaders-msl --msl --update --opt || exit 1
|
|
./test_shaders.py shaders-msl-no-opt --msl --update || exit 1
|
|
./test_shaders.py shaders-hlsl --hlsl --update || exit 1
|
|
./test_shaders.py shaders-hlsl --hlsl --update --opt || exit 1
|
|
|