Make sure shader sources are valid strings