webrender_build/lib.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5#![allow(clippy::new_without_default)]
6
7#[macro_use]
8extern crate bitflags;
9
10#[macro_use]
11extern crate lazy_static;
12
13#[cfg(feature = "serde")]
14#[macro_use]
15extern crate serde;
16
17pub mod shader;
18pub mod shader_features;
19
20/// This must be known at build-time as the shaders depend on it.
21pub const MAX_VERTEX_TEXTURE_WIDTH: usize = 1024;