increased verbosity

This commit is contained in:
matthias@arch 2022-10-29 16:06:48 +02:00
parent de544a5b0f
commit c050c7a33d

View File

@ -8,8 +8,10 @@ mkdir -p "${SHADER_DIR}"
for file in $(ls ${SOURCE_DIR}); do
ext="${file##*.}"
if [[ $ext == "vert" ]] || [[ $ext == "frag" ]]; then
echo "compiling ${file}"
glslc ${SOURCE_DIR}/${file} -o ${SHADER_DIR}/$(basename ${file}).spv
src=${SOURCE_DIR}/${file}
dst=${SHADER_DIR}/$(basename ${file}).spv
echo "compiling $src to $dst"
glslc ${src} -o ${dst}
fi
done