mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-14 22:44:32 +00:00
Added -x option to the script to exclude files, then used it to exclude the large BC7 mode 6 tables. Added mipmap transcoding to the example for completeness.
12 lines
359 B
Bash
Executable File
12 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Amalgamating files... this can take a while"
|
|
echo "Note: basisu_transcoder_tables_bc7_m6.inc is excluded"
|
|
./combine.sh -r "../../transcoder" -x basisu_transcoder_tables_bc7_m6.inc -o basisutranslib.cpp basisutranslib-in.cpp
|
|
# Did combining work?
|
|
if [ $? -ne 0 ]; then
|
|
echo "Combine script: FAILED"
|
|
exit 1
|
|
fi
|
|
echo "Combine script: PASSED"
|