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 for file in $(ls ${SOURCE_DIR}); do
ext="${file##*.}" ext="${file##*.}"
if [[ $ext == "vert" ]] || [[ $ext == "frag" ]]; then if [[ $ext == "vert" ]] || [[ $ext == "frag" ]]; then
echo "compiling ${file}" src=${SOURCE_DIR}/${file}
glslc ${SOURCE_DIR}/${file} -o ${SHADER_DIR}/$(basename ${file}).spv dst=${SHADER_DIR}/$(basename ${file}).spv
echo "compiling $src to $dst"
glslc ${src} -o ${dst}
fi fi
done done