fix texture channel format data type.