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 upRun reftests on Windows using ANGLE #2420
Comments
|
We already have a dev-dependency on ANGLE (so building should already be solved), but so far it’s only used in an ANGLE-specific shader compilation test. |
|
This is a duplicate of #1432. |
|
Well, actually the other bug doesn't mention running reftests - I'll re-open this one and close the other. |
|
I was probably a bit too optimistic there. The crate at https://github.com/servo/angle self-describes as "GLSL parsing and validation library based on ANGLE" so possibly it doesn’t compile all of the relevant code. It also produces a static library, whereas Glutin uses (effectively) |
|
https://crates.io/crates/mozangle + rust-windowing/glutin#998 should enable running Wrench with ANGLE on Windows in non-headless mode. However headless mode still uses OSMesa, and our Windows CI doesn’t run reftests at all at the moment. @jrmuizel Did you mean this issue to be about running reftests on CI? |
Switch from servo/angle to the mozangle crate https://github.com/servo/mozangle This is a step towards #2420. (The next step is blocked on rust-windowing/glutin#998.) <!-- 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/2492) <!-- Reviewable:end -->
Switch from servo/angle to the mozangle crate https://github.com/servo/mozangle This is a step towards #2420. (The next step is blocked on rust-windowing/glutin#998.) <!-- 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/2492) <!-- Reviewable:end -->
|
Yes, I'd like to have the reftests running in CI on ANGLE |
|
#2529 adds
Full output of |
|
I opened up the reftest log, and none of the failing tests look completely wrong. Most of them are a lot of subpixel differences compared to the PNG reference images on Linux, which is somewhat expected. If we disable those tests on Windows temporarily, by adding Does that sound correct to you @SimonSapin ? |
|
Long term, we need to either use PNG images less often, or support generating them per-platform (probably a combination of both). |
|
This happened. We still need to enable some of the PNG reference tests on Windows, but we have ~80% coverage. |
This should let us catch any ANGLE related problem earlier