increased verbosity
This commit is contained in:
parent
de544a5b0f
commit
c050c7a33d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user