Auto merge of #2864 - kvark:osx-intel-comparison, r=nical
Auto merge of #2864 - kvark:osx-intel-comparison, r=nical

Work around OSX/Intel shader bug with integer comparison

Fixes #2862
Fixes #2754

Oh OSX GL drivers, so rough, such cruel, no remorse.
r? anyone

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/2864)
<!-- Reviewable:end -->

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender