A) Left out a prior   SS(inGammaSpace, D3DSAMP_SRGBTEXTURE, mDesc.samplers[i].inGammaSpace); entry (was commented in the original. is actually needed)
B) Corrects reflection linearization. requires exposing the gamma and hdr postfx to the reflection functionality.