Open nigeltao opened 3 months ago
Thanks - I've changed our wiki spec to say: "In ETC1S, the mode is always differential (diff bit=1), the Rd, Gd, and Bd color deltas are always (0,0,0), and the flip bit is always not set (not that this matters in practice)."
I'll re-read our spec vs. the Khronos doc and see if I can make things more clear/consistent.
https://github.com/BinomialLLC/basis_universal/wiki/.basis-File-Format-and-ETC1S-Texture-Video-Specification
says (emphasis added)
The Khronos spec says
I mean, it doesn't matter much in practice. As Khronos says, both halves of the 4×4 block have the same base color regardless of flip-ness. But as someone writing an ETC1S encoder, I was momentarily confused on what to output and this wiki page ranks pretty highly when doing a web search for "etc1s specification".
BasisU code also emits flip bit = 0:
https://github.com/BinomialLLC/basis_universal/blob/c71b173f0d95f6fab2ac98fcd70f1f23ea1b692a/transcoder/basisu_transcoder.cpp#L7853-L7855
Relatedly, the Khronos spec also sas that "The [3 bit] Table codeword for each subblock is identical" but this wiki page also doesn't explicitly mention this constraint, unless you count the "the" (meaning unique) in "the 3-bit intensity table index".