mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
chore: Update wgpu (#35639)
* Update wgpu
2f255edc60
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* Update expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
parent
cdc33b398c
commit
3c3b6cfdc4
4 changed files with 35 additions and 55 deletions
|
@ -754,7 +754,7 @@ impl WGPU {
|
|||
device_id: _device_id,
|
||||
} => {
|
||||
let global = &self.global;
|
||||
let (pass, error) = global.command_encoder_create_compute_pass(
|
||||
let (pass, error) = global.command_encoder_begin_compute_pass(
|
||||
command_encoder_id,
|
||||
&ComputePassDescriptor {
|
||||
label,
|
||||
|
@ -908,7 +908,7 @@ impl WGPU {
|
|||
occlusion_query_set: None,
|
||||
};
|
||||
let (pass, error) =
|
||||
global.command_encoder_create_render_pass(command_encoder_id, desc);
|
||||
global.command_encoder_begin_render_pass(command_encoder_id, desc);
|
||||
assert!(
|
||||
self.render_passes
|
||||
.insert(render_pass_id, Pass::new(pass, error.is_none()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue