Rewrite some unclear code.
Cosmetics: Use explicitly NULL/FALSE constants to make the code clearer.
Make "Sharpen Complex 2" shader compatible with Pixel Shader 2.0.