DXTC family decompression is slower than possible
Closed this issue · 1 comments
hglm commented
DXTC family (BC1, BC2, BC3, BC4/RGTC1, BC5/RGTC2) decompression is slower than possible due to extensive use of integer division, which is very slow on most architectures. Since only division of a value less than 2048 and only by 5 or 7 is required (as well as division by 3 for a smaller range), performance could be improved by using medium-sized look-up tables.
hglm commented
Look-up tables have now been implemented.