Skip to content

Commit 52bcffb

Browse files
tychedeliaatlv24
andauthored
Upgrade to wgpu version 26.0 (#19868)
# Objective - Upgrading to the latest wgpu version is good for features, bug fixes and performance improvements. - Also fixes #19626. ## Solution - Upgrade dependency version. --------- Co-authored-by: atlas dostal <rodol@rivalrebels.com>
1 parent ff40a6a commit 52bcffb

File tree

37 files changed

+104
-119
lines changed

37 files changed

+104
-119
lines changed

crates/bevy_anti_aliasing/src/contrast_adaptive_sharpening/node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ impl Node for CasNode {
9898
label: Some("contrast_adaptive_sharpening"),
9999
color_attachments: &[Some(RenderPassColorAttachment {
100100
view: destination,
101+
depth_slice: None,
101102
resolve_target: None,
102103
ops: Operations::default(),
103104
})],

crates/bevy_anti_aliasing/src/fxaa/node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ impl ViewNode for FxaaNode {
6464
label: Some("fxaa_pass"),
6565
color_attachments: &[Some(RenderPassColorAttachment {
6666
view: destination,
67+
depth_slice: None,
6768
resolve_target: None,
6869
ops: Operations::default(),
6970
})],

crates/bevy_anti_aliasing/src/smaa/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ fn perform_edge_detection(
896896
label: Some("SMAA edge detection pass"),
897897
color_attachments: &[Some(RenderPassColorAttachment {
898898
view: &smaa_textures.edge_detection_color_texture.default_view,
899+
depth_slice: None,
899900
resolve_target: None,
900901
ops: default(),
901902
})],
@@ -951,6 +952,7 @@ fn perform_blending_weight_calculation(
951952
label: Some("SMAA blending weight calculation pass"),
952953
color_attachments: &[Some(RenderPassColorAttachment {
953954
view: &smaa_textures.blend_texture.default_view,
955+
depth_slice: None,
954956
resolve_target: None,
955957
ops: default(),
956958
})],
@@ -1007,6 +1009,7 @@ fn perform_neighborhood_blending(
10071009
label: Some("SMAA neighborhood blending pass"),
10081010
color_attachments: &[Some(RenderPassColorAttachment {
10091011
view: destination,
1012+
depth_slice: None,
10101013
resolve_target: None,
10111014
ops: default(),
10121015
})],

crates/bevy_anti_aliasing/src/taa/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,11 +202,13 @@ impl ViewNode for TemporalAntiAliasNode {
202202
color_attachments: &[
203203
Some(RenderPassColorAttachment {
204204
view: view_target.destination,
205+
depth_slice: None,
205206
resolve_target: None,
206207
ops: Operations::default(),
207208
}),
208209
Some(RenderPassColorAttachment {
209210
view: &taa_history_textures.write.default_view,
211+
depth_slice: None,
210212
resolve_target: None,
211213
ops: Operations::default(),
212214
}),

crates/bevy_camera/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bevy_color = { path = "../bevy_color", version = "0.17.0-dev", features = [
2626
bevy_window = { path = "../bevy_window", version = "0.17.0-dev" }
2727

2828
# other
29-
wgpu-types = { version = "25", default-features = false }
29+
wgpu-types = { version = "26", default-features = false }
3030
serde = { version = "1", default-features = false, features = ["derive"] }
3131
thiserror = { version = "2", default-features = false }
3232
downcast-rs = { version = "2", default-features = false, features = ["std"] }

crates/bevy_color/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ serde = { version = "1.0", features = [
2020
], default-features = false, optional = true }
2121
thiserror = { version = "2", default-features = false }
2222
derive_more = { version = "2", default-features = false, features = ["from"] }
23-
wgpu-types = { version = "25", default-features = false, optional = true }
23+
wgpu-types = { version = "26", default-features = false, optional = true }
2424
encase = { version = "0.10", default-features = false, optional = true }
2525

2626
[features]

crates/bevy_core_pipeline/src/bloom/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ impl ViewNode for BloomNode {
186186
label: Some("bloom_downsampling_first_pass"),
187187
color_attachments: &[Some(RenderPassColorAttachment {
188188
view,
189+
depth_slice: None,
189190
resolve_target: None,
190191
ops: Operations::default(),
191192
})],
@@ -210,6 +211,7 @@ impl ViewNode for BloomNode {
210211
label: Some("bloom_downsampling_pass"),
211212
color_attachments: &[Some(RenderPassColorAttachment {
212213
view,
214+
depth_slice: None,
213215
resolve_target: None,
214216
ops: Operations::default(),
215217
})],
@@ -234,6 +236,7 @@ impl ViewNode for BloomNode {
234236
label: Some("bloom_upsampling_pass"),
235237
color_attachments: &[Some(RenderPassColorAttachment {
236238
view,
239+
depth_slice: None,
237240
resolve_target: None,
238241
ops: Operations {
239242
load: LoadOp::Load,

crates/bevy_core_pipeline/src/deferred/node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ fn run_deferred_prepass<'w>(
176176
load: bevy_render::render_resource::LoadOp::Load,
177177
store: StoreOp::Store,
178178
},
179+
depth_slice: None,
179180
}
180181
}
181182
#[cfg(any(

crates/bevy_core_pipeline/src/dof/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ impl ViewNode for DepthOfFieldNode {
409409
let mut color_attachments: SmallVec<[_; 2]> = SmallVec::new();
410410
color_attachments.push(Some(RenderPassColorAttachment {
411411
view: postprocess.destination,
412+
depth_slice: None,
412413
resolve_target: None,
413414
ops: Operations {
414415
load: LoadOp::Clear(default()),
@@ -429,6 +430,7 @@ impl ViewNode for DepthOfFieldNode {
429430
};
430431
color_attachments.push(Some(RenderPassColorAttachment {
431432
view: &auxiliary_dof_texture.default_view,
433+
depth_slice: None,
432434
resolve_target: None,
433435
ops: Operations {
434436
load: LoadOp::Clear(default()),

crates/bevy_core_pipeline/src/motion_blur/node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ impl ViewNode for MotionBlurNode {
8484
label: Some("motion_blur_pass"),
8585
color_attachments: &[Some(RenderPassColorAttachment {
8686
view: post_process.destination,
87+
depth_slice: None,
8788
resolve_target: None,
8889
ops: Operations::default(),
8990
})],

0 commit comments

Comments
 (0)