Add method to check bpp for texture

Bpp used by unpack alignment
Check texture BPP and set unpack alignment