Snape was hostile towards any student that didn't belong to Slytheran, regardless of their abilities. His exceptional hostility towards Harry Potter had nothing to do with Potter being unusually talented in magic and everything to do with Snape's relationship with Potter's deceased parents.