Fixed bug where shader from a previous pass could be assigned to the next pass.
Removed bogus assert on null shaders in EffectPass constructor.
Merge branch 'effectfix' into stable_BtA