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 upglsl non-empty case statements must have break or return for ANGLE #1044
Comments
|
#749 fixed the same problem in the past. |
|
didn't we have angle running in CI for this? |
|
Yes, it was added in #713, and CI still passes successfully: https://travis-ci.org/servo/webrender/jobs/217127497#L626
So either we are not setting Angle up correctly, or it just behaves differently on Linux vs Windows?.. |
|
It seems like Windows specific. |
|
I faced the problem during investigating https://bugzilla.mozilla.org/show_bug.cgi?id=1352287 |
|
The following are actual log out when the problem happened.
|
|
The following did not work on windows
The following works on windows, but it did not work on linux
|
|
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1352878 (note the |
Make non-empty case statements have break or return Fixes #1044 <!-- 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/1054) <!-- Reviewable:end -->
ps_border.fs.glsl and ps_border.vs.glsl has non-empty case statements must have break or return, it causes failures of compiling the shaders. I faced the problem on gecko webrender on graphics branch on Windows. When I tested on windows, "discard;" also seemed to request break/return
The following are actual error log.