mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-08 20:01:30 +11:00
[vello_shaders] Move vello_shaders to crates/shaders
This commit is contained in:
parent
64020a3f77
commit
0a6a6e2c21
|
@ -2,6 +2,8 @@
|
|||
resolver = "2"
|
||||
|
||||
members = [
|
||||
"crates/shaders",
|
||||
|
||||
"integrations/vello_svg",
|
||||
|
||||
"examples/headless",
|
||||
|
@ -9,7 +11,6 @@ members = [
|
|||
"examples/with_bevy",
|
||||
"examples/run_wasm",
|
||||
"examples/scenes",
|
||||
"vello_shaders",
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
|
|
|
@ -15,7 +15,7 @@ use compile::ShaderInfo;
|
|||
fn main() {
|
||||
let out_dir = env::var_os("OUT_DIR").unwrap();
|
||||
let dest_path = Path::new(&out_dir).join("shaders.rs");
|
||||
let mut shaders = compile::ShaderInfo::from_dir("../shader");
|
||||
let mut shaders = compile::ShaderInfo::from_dir("../../shader");
|
||||
// Drop the HashMap and sort by name so that we get deterministic order.
|
||||
let mut shaders = shaders.drain().collect::<Vec<_>>();
|
||||
shaders.sort_by(|x, y| x.0.cmp(&y.0));
|
Loading…
Reference in a new issue