ShaderGen: Small optimization.
ShaderGen: Fix per pixel lighting.
PixelShaderGen: Cleanups.
ShaderGen: Remove some TODOs and fix an issue with per pixel lighting.