This doesn't need to be dependent on srcFormat.type