mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
webgpu: Update to wgpu 0.20 (#32173)
* Update wgpu to 0.20 * good expectations * Throw TypeError in configure on unsupported format instead of panic * Expect * `into_command_buffer_id`,`into_command_encoder_id`
This commit is contained in:
parent
5298ccb0eb
commit
c4f8599404
21 changed files with 1552 additions and 852 deletions
|
@ -268,7 +268,8 @@ impl GPUBufferMethods for GPUBuffer {
|
|||
buffer_id: self.buffer.0,
|
||||
device_id: self.device.id().0,
|
||||
host_map,
|
||||
map_range: map_range.clone(),
|
||||
offset,
|
||||
size: Some(range_size),
|
||||
},
|
||||
)) {
|
||||
warn!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue