We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489dca7 commit 2722162Copy full SHA for 2722162
tools/example-showcase/src/main.rs
@@ -773,9 +773,7 @@ fn parse_examples() -> Vec<Example> {
773
let technical_name = val.get("name").unwrap().as_str().unwrap().to_string();
774
775
let source_code = fs::read_to_string(val["path"].as_str().unwrap()).unwrap();
776
- let shader_regex =
777
- Regex::new(r"(shaders\/\w+\.wgsl)|(shaders\/\w+\.frag)|(shaders\/\w+\.vert)")
778
- .unwrap();
+ let shader_regex = Regex::new(r"shaders\/\w+\.(wgsl|frag|vert|wesl)").unwrap();
779
780
// Find all instances of references to shader files, and keep them in an ordered and deduped vec.
781
let mut shader_paths = vec![];
0 commit comments