Add early exit for test_shaders if compilation fails

This commit is contained in:
rdb 2023-01-19 14:18:01 +01:00 committed by GitHub
parent 4be568c004
commit e6d1c76e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ OPTS=$@
if [ -z "$SPIRV_CROSS_PATH" ]; then
echo "Building spirv-cross"
make -j$(nproc)
make -j$(nproc) || exit 1
SPIRV_CROSS_PATH="./spirv-cross"
fi