Skip to content

Commit 3f0c714

Browse files
committed
bump wgpu to main for SPIR-V atomic support
1 parent 853faee commit 3f0c714

26 files changed

+611
-220
lines changed

Cargo.lock

Lines changed: 330 additions & 218 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
@@ -36,4 +36,4 @@ wasm-bindgen = "0.2"
3636
wasm-bindgen-futures = "0.4"
3737
web-sys = "0.3"
3838
winit = { version = "0.30" }
39-
wgpu = { version = "0.20" }
39+
wgpu = { git = "https://github.com/gfx-rs/wgpu.git" }

DEVLOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ title: devlog
33
---
44
## Sat Jul 6, 2024
55

6+
a. Open first PR into wgpu including SPIR-V frontend pass identifying and storing (but not using) two atomics operations
7+
b. Iterate on PR feedback, address wgpu team concerns
8+
c. First PR merged, update in Renderling, maintenance and release minor version
9+
https://github.com/gfx-rs/wgpu/pull/5702
10+
11+
12+
d. Open PR into wgpu including SPIR-V frontend pass upgrading identified atomic uses to atomic types
13+
e. Iterate on PR feedback, address wgpu team concerns
14+
f. PR merged, update in Renderling, maintenance and release minor version
15+
16+
617
### nlnet updates
718

819
Milestone 1 is complete! `wgpu` users should now be able to write shaders that use the

crates/renderling/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "renderling"
3-
version = "0.4.7"
3+
version = "0.4.8"
44
edition = "2021"
55
description = "User-friendly real-time rendering. 🍖"
66
repository = "https://github.com/schell/renderling"

crates/renderling/src/bloom/cpu.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ fn create_bloom_downsample_pipeline(device: &wgpu::Device) -> wgpu::RenderPipeli
8484
compilation_options: Default::default(),
8585
}),
8686
multiview: None,
87+
cache: None,
8788
})
8889
}
8990

@@ -128,6 +129,7 @@ fn create_bloom_upsample_pipeline(device: &wgpu::Device) -> wgpu::RenderPipeline
128129
compilation_options: Default::default(),
129130
}),
130131
multiview: None,
132+
cache: None,
131133
})
132134
}
133135

@@ -336,6 +338,7 @@ fn create_mix_pipeline(device: &wgpu::Device) -> wgpu::RenderPipeline {
336338
compilation_options: Default::default(),
337339
}),
338340
multiview: None,
341+
cache: None,
339342
})
340343
}
341344

crates/renderling/src/cubemap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ impl CubemapMakingRenderPipeline {
114114
compilation_options: Default::default(),
115115
}),
116116
multiview: None,
117+
cache: None,
117118
},
118119
))
119120
}

crates/renderling/src/ibl/diffuse_irradiance.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ impl DiffuseIrradianceConvolutionRenderPipeline {
118118
compilation_options: Default::default(),
119119
}),
120120
multiview: None,
121+
cache: None,
121122
},
122123
));
123124
log::trace!(" completed pipeline creation");

crates/renderling/src/ibl/prefiltered_environment.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ pub fn create_pipeline_and_bindgroup(
102102
compilation_options: Default::default(),
103103
}),
104104
multiview: None,
105+
cache: None,
105106
});
106107
(pipeline, bindgroup)
107108
}
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)