Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix default precision of `sampler2DArray` #627
Conversation
|
LGTM |
|
Is GL_FRAGMENT_PRECISION_HIGH defined on non-ES (i.e. desktop implementations)? It might be best to wrap it with GL_ES defined too? |
|
@glennw FYI, I don't think it matters:
|
|
@kvark OK, that should be fine then. |
|
@bors-servo r+ |
|
|
Fix default precision of `sampler2DArray` This fixes the `no default precision defined for variable 'sCache'` error produced by Servo on Android. Related: servo/servo#13154 <!-- 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/627) <!-- Reviewable:end -->
|
|
|
It appears to be failing now on Windows/AMD:
It doesn't like precision qualifier for |
|
@kvark OK, let's wrap it in GL_ES then? |
|
@glennw yes, your intuition was correct, let's wrap it up |
mmatyas commentedDec 12, 2016
•
edited by larsbergstrom
This fixes the
no default precision defined for variable 'sCache'error produced by Servo on Android.Related: servo/servo#13154
This change is