mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
chore: Update wgpu (#34795)
* Update wgpu
0f5f0580e4
Most notable change is https://github.com/gfx-rs/wgpu/pull/6785
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Remove silencing of wgpu logs
I fixed this in upstream: https://github.com/gfx-rs/wgpu/pull/6817
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
3c40a48db5
commit
9e7ab3f8de
6 changed files with 69 additions and 41 deletions
|
@ -406,12 +406,10 @@ impl Convert<wgt::BlendComponent> for &GPUBlendComponent {
|
|||
}
|
||||
}
|
||||
|
||||
impl Convert<wgpu_com::LoadOp> for &GPULoadOp {
|
||||
fn convert(self) -> wgpu_com::LoadOp {
|
||||
match self {
|
||||
GPULoadOp::Load => wgpu_com::LoadOp::Load,
|
||||
GPULoadOp::Clear => wgpu_com::LoadOp::Clear,
|
||||
}
|
||||
pub(crate) fn convert_load_op<T>(load: &GPULoadOp, clear: T) -> wgpu_com::LoadOp<T> {
|
||||
match load {
|
||||
GPULoadOp::Load => wgpu_com::LoadOp::Load,
|
||||
GPULoadOp::Clear => wgpu_com::LoadOp::Clear(clear),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue