diff --git a/vello_shaders/build.rs b/vello_shaders/build.rs index 65ea159..0856974 100644 --- a/vello_shaders/build.rs +++ b/vello_shaders/build.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + #[path = "src/compile/mod.rs"] mod compile; #[path = "src/types.rs"] diff --git a/vello_shaders/src/compile/mod.rs b/vello_shaders/src/compile/mod.rs index c218be6..74cafda 100644 --- a/vello_shaders/src/compile/mod.rs +++ b/vello_shaders/src/compile/mod.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + use { naga::{ front::wgsl, diff --git a/vello_shaders/src/compile/msl.rs b/vello_shaders/src/compile/msl.rs index 7fa8740..5f7b831 100644 --- a/vello_shaders/src/compile/msl.rs +++ b/vello_shaders/src/compile/msl.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + use naga::back::msl; use super::{BindType, ShaderInfo}; diff --git a/vello_shaders/src/compile/permutations.rs b/vello_shaders/src/compile/permutations.rs index 5dbb138..f85f667 100644 --- a/vello_shaders/src/compile/permutations.rs +++ b/vello_shaders/src/compile/permutations.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + use std::collections::HashMap; #[derive(Debug)] diff --git a/vello_shaders/src/compile/preprocess.rs b/vello_shaders/src/compile/preprocess.rs index 95b8a4e..917f83f 100644 --- a/vello_shaders/src/compile/preprocess.rs +++ b/vello_shaders/src/compile/preprocess.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + use std::{ collections::{HashMap, HashSet}, fs, diff --git a/vello_shaders/src/lib.rs b/vello_shaders/src/lib.rs index ded1984..66ac937 100644 --- a/vello_shaders/src/lib.rs +++ b/vello_shaders/src/lib.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + mod types; #[cfg(feature = "compile")] diff --git a/vello_shaders/src/types.rs b/vello_shaders/src/types.rs index a9db3fe..548f7e9 100644 --- a/vello_shaders/src/types.rs +++ b/vello_shaders/src/types.rs @@ -1,3 +1,6 @@ +// Copyright 2023 The Vello authors +// SPDX-License-Identifier: Apache-2.0 OR MIT + //! Types that are shared between the main crate and build. /// The type of resource that will be bound to a slot in a shader.