Return an error if shader targets are not bound