Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from servo/angle to the mozangle crate #2492

Merged
merged 1 commit into from Mar 6, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Some generated files are not rendered by default. Learn more.

@@ -40,7 +40,7 @@ base64 = { optional = true, version = "0.3.0" }
ron = { optional = true, version = "0.1.7" }

[dev-dependencies]
angle = {git = "https://github.com/servo/angle", branch = "servo"}
mozangle = "0.1"
env_logger = "0.5"
rand = "0.3" # for the benchmarks
glutin = "0.12" # for the example apps
@@ -2,10 +2,10 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

extern crate angle;
extern crate mozangle;
extern crate webrender;

use angle::hl::{BuiltInResources, Output, ShaderSpec, ShaderValidator};
use mozangle::shaders::{BuiltInResources, Output, ShaderSpec, ShaderValidator};

// from glslang
const FRAGMENT_SHADER: u32 = 0x8B30;
@@ -113,7 +113,7 @@ const VERSION_STRING: &str = "#version 300 es\n";

#[test]
fn validate_shaders() {
angle::hl::initialize().unwrap();
mozangle::shaders::initialize().unwrap();

let resources = BuiltInResources::default();
let vs_validator =
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.