We set the SamplerState even if the texture is null.
Merge branch 'effectpass' into stable_BtA