writes RG
| 368 | |
| 369 | // writes RG |
| 370 | void unpack_bc5(const void *pBlock_bits, color_rgba *pPixels) |
| 371 | { |
| 372 | unpack_bc4(pBlock_bits, &pPixels[0].r, sizeof(color_rgba)); |
| 373 | unpack_bc4((const uint8_t *)pBlock_bits + sizeof(bc4_block), &pPixels[0].g, sizeof(color_rgba)); |
| 374 | } |
| 375 | |
| 376 | // ATC isn't officially documented, so I'm assuming these references: |
| 377 | // http://www.guildsoftware.com/papers/2012.Converting.DXTC.to.ATC.pdf |
no test coverage detected