fixes for compressed texture formats, both DirectX 11 and OpenGL
uncompressed sRGB format support; refactored compressed sRGB format support