rom-properties/extlib/basisu_astc/_MODIFIED_BASISU.txt
David Korth 699fa25ab3 [basisu_astc] Fix the output stage for Big-Endian.
This fixes the last failing test in ImageDecoderTest:

TCtest_ASTC/ImageDecoderTest.decodeTest/tctest_example_astc_dds_gz_Image,
	where GetParam() = tctest/example-astc.dds.gz
2022-09-10 15:46:59 -04:00

21 lines
649 B
Plaintext
Vendored

These files were originally sourced from Basis Universal v1.15.
The following changes have been made to the original:
- Only the ASTC decoder is included. It has been modified to build without
the rest of Basis Universal, e.g. using std::max<> instead of
basisu::maximum<>.
- Large 32-bit arrays have been converted to 8-bit.
- Added fall-through comments.
- Swap the R and B channels to match the expected data formats.
- Converted some large ternary comparison trees to switch/case.
- Proper byteswapping for Big-Endian architectures.
To obtain the original Basis Universal v1.15, visit:
https://github.com/BinomialLLC/basis_universal