1 #include "intel_context.h"
3 #include "main/enums.h"
4 #include "main/formats.h"
6 int intel_compressed_num_bytes(GLuint mesaFormat
)
11 block_size
= _mesa_get_format_bytes(mesaFormat
);
12 _mesa_get_format_block_size(mesaFormat
, &bw
, &bh
);
14 return block_size
/ bw
;