Fusing the reinhardLocal and tonemapping kernels.