1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Update wgpu to 26 and wasm-bindgen to 0.2.100 (#7540)

Co-authored-by: TÖRÖK Attila <torokati44@gmail.com>
Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
Kumpelinus
2025-09-21 20:42:00 +02:00
committed by GitHub
parent 6ac155c5cd
commit c97c065a57
11 changed files with 117 additions and 114 deletions

View File

@@ -160,6 +160,7 @@ impl CaptureState {
load: wgpu::LoadOp::Clear(wgpu::Color::TRANSPARENT),
store: StoreOp::Store,
},
depth_slice: None,
})],
depth_stencil_attachment: None,
occlusion_query_set: None,

View File

@@ -162,6 +162,7 @@ impl Default for WgpuSetupCreateNew {
.unwrap_or(wgpu::Backends::PRIMARY | wgpu::Backends::GL),
flags: wgpu::InstanceFlags::from_build_config().with_env(),
backend_options: wgpu::BackendOptions::from_env_or_default(),
memory_budget_thresholds: wgpu::MemoryBudgetThresholds::default(),
},
power_preference: wgpu::PowerPreference::from_env()

View File

@@ -471,6 +471,7 @@ impl Painter {
}),
store: wgpu::StoreOp::Store,
},
depth_slice: None,
})],
depth_stencil_attachment: self.depth_texture_view.get(&viewport_id).map(|view| {
wgpu::RenderPassDepthStencilAttachment {