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:
@@ -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,
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user