This commit is contained in:
Branimir Karadžić 2015-08-24 22:23:39 -07:00
parent 32ab287ddc
commit 3853645bf6

View file

@ -12,13 +12,15 @@ namespace bgfx
{ {
static const ImageBlockInfo s_imageBlockInfo[] = static const ImageBlockInfo s_imageBlockInfo[] =
{ {
// +------------------ bits per pixel // +--------------------------- bits per pixel
// | +--------------- block width // | +------------------------ block width
// | | +------------ block height // | | +--------------------- block height
// | | | +-------- block size // | | | +----------------- block size
// | | | | +----- min blocks x // | | | | +-------------- min blocks x
// | | | | | +-- min blocks y // | | | | | +----------- min blocks y
// | | | | | | // | | | | | | +------- depth bits
// | | | | | | | +---- stencil bits
// | | | | | | | |
{ 4, 4, 4, 8, 1, 1, 0, 0 }, // BC1 { 4, 4, 4, 8, 1, 1, 0, 0 }, // BC1
{ 8, 4, 4, 16, 1, 1, 0, 0 }, // BC2 { 8, 4, 4, 16, 1, 1, 0, 0 }, // BC2
{ 8, 4, 4, 16, 1, 1, 0, 0 }, // BC3 { 8, 4, 4, 16, 1, 1, 0, 0 }, // BC3