diff --git a/std/etc2/decode_etc2.wuffs b/std/etc2/decode_etc2.wuffs index 11e903ca..d43db3fa 100644 --- a/std/etc2/decode_etc2.wuffs +++ b/std/etc2/decode_etc2.wuffs @@ -31,6 +31,9 @@ // // https://registry.khronos.org/OpenGL/specs/es/3.0/es_spec_3.0.pdf // https://registry.khronos.org/OpenGL/specs/es/3.2/es_spec_3.2.pdf +// https://registry.khronos.org/DataFormat/specs/1.3/dataformat.1.3.html#ETC1 +// https://registry.khronos.org/DataFormat/specs/1.3/dataformat.1.3.html#ETC1S +// https://registry.khronos.org/DataFormat/specs/1.3/dataformat.1.3.html#ETC2 // https://www.khronos.org/assets/uploads/developers/library/2012-siggraph-opengl-es-bof/Ericsson-ETC2-SIGGRAPH_Aug12.pdf // https://www.graphicshardware.org/previous/www_2007/presentations/strom-etc2-gh07.pdf // https://github.com/Ericsson/ETCPACK diff --git a/test/data/README.md b/test/data/README.md index db591ab1..0fb4873a 100644 --- a/test/data/README.md +++ b/test/data/README.md @@ -12,7 +12,9 @@ by the `script/convert-png-to-wbmp.go` command line tool. The `*.webp` versions were generated by the cwebp command line tool. The `*.no-ancillary.png` files were generated by the `script/strip-png-ancillary-chunks.go` command line tool. The `*.qoi` files were generated by the qoiconv command line tool. The `*.pkm` -files were generated by the ETCPACK command line tool. +files were generated by the ETCPACK command line tool, except the `*.etc1s.pkm` +files were generated by a [custom +etc1tool](https://github.com/nigeltao/etc1tool). The `*.apng` files were generated by `gif2apng`. Those with finite animation loop counts were manually patched to correct for a `gif2apng` bug. diff --git a/test/data/bricks-color.etc1s.pkm b/test/data/bricks-color.etc1s.pkm new file mode 100644 index 00000000..6e0c8a47 Binary files /dev/null and b/test/data/bricks-color.etc1s.pkm differ diff --git a/test/nia-checksums-of-data.txt b/test/nia-checksums-of-data.txt index 0ec5e4f7..a7c5bfcf 100644 --- a/test/nia-checksums-of-data.txt +++ b/test/nia-checksums-of-data.txt @@ -26,6 +26,7 @@ OK. e08a7cc8 test/data/artificial-png/exif.png OK. e08a7cc8 test/data/artificial-png/key-value-pairs.png OK. 076cb375 test/data/bricks-color.bmp OK. bdbbfadb test/data/bricks-color.etc1.pkm +OK. 41e6110e test/data/bricks-color.etc1s.pkm OK. 5670f263 test/data/bricks-color.etc2.pkm OK. 72a1f9cc test/data/bricks-color.jpeg OK. 076cb375 test/data/bricks-color.lossless.webp