fn premultiply_inplace(
    format: TexFormat,
    data_type: TexDataType,
    pixels: &mut [u8]
)