Apply tonemapping on a hdr texture

Any suggestion or help is much appreciated.