Skip to content

Commit 7286d76

Browse files
committed
Rename triangle.wgsl into obj.wgsl
1 parent 05b2f50 commit 7286d76

File tree

5 files changed

+14
-3
lines changed

5 files changed

+14
-3
lines changed

Cargo.lock

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[workspace]
22
resolver = "2"
3-
members = ["example_01_triangle", "example_02_buffer"]
3+
members = ["example_01_triangle", "example_02_buffer", "example_03_obj"]

example_03_obj/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "example_02_buffer"
2+
name = "example_03_obj"
33
version = "0.1.0"
44
edition = "2021"
55

example_03_obj/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async fn run() {
3333
// Define our pipeline
3434
let shader_module = device.create_shader_module(wgpu::ShaderModuleDescriptor {
3535
label: Some("triangle_shader"),
36-
source: wgpu::ShaderSource::Wgsl(include_str!("triangle.wgsl").into()),
36+
source: wgpu::ShaderSource::Wgsl(include_str!("obj.wgsl").into()),
3737
});
3838
let pipeline = build_simple_pipeline(
3939
&device,
File renamed without changes.

0 commit comments

Comments
 (0)