Skip to content

Commit 59ccc4f

Browse files
committed
Add back the parent paths which got lost in the
Maybe workspace relative paths here would be cleaner?
1 parent c38f005 commit 59ccc4f

File tree

1 file changed

+7
-3
lines changed
  • examples/runners/wgpu/builder/src

1 file changed

+7
-3
lines changed

examples/runners/wgpu/builder/src/main.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,14 @@ fn build_shader(
2626
}
2727

2828
fn main() -> Result<(), Box<dyn Error>> {
29-
build_shader("../../shaders/sky-shader", true, &[])?;
29+
build_shader("../../../shaders/sky-shader", true, &[])?;
3030
build_shader("../../shaders/simplest-shader", false, &[])?;
3131
// We need the int8 capability for using `Option`
32-
build_shader("../../shaders/compute-shader", false, &[Capability::Int8])?;
33-
build_shader("../../shaders/mouse-shader", false, &[])?;
32+
build_shader(
33+
"../../../shaders/compute-shader",
34+
false,
35+
&[Capability::Int8],
36+
)?;
37+
build_shader("../../../shaders/mouse-shader", false, &[])?;
3438
Ok(())
3539
}

0 commit comments

Comments
 (0)