Fixes some GLSLS errors.
Fix AssertFatal check on ProcessedShaderMaterial::_createPasses