The current format selection is based on a prioritization scheme extracted from this blog post:
http://richg42.blogspot.com/2018/05/basis-universal-gpu-texture-format.html
But there's an official KTX developer guide that we should implement or check the current solution against.