diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2024-08-08 22:27:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 20:27:16 +0000 |
commit | 24b1404d12be64db5b173f5648de71a1bcf7792e (patch) | |
tree | a1f6ba8b541a829fd38721f7b33444d150062e1d /components/webgpu | |
parent | 77ce73e4c60b180f2d951abb1e85008c73c10524 (diff) | |
download | servo-24b1404d12be64db5b173f5648de71a1bcf7792e.tar.gz servo-24b1404d12be64db5b173f5648de71a1bcf7792e.zip |
Update wgpu (#32981)
* Update wgpu to https://github.com/gfx-rs/wgpu/commit/781b54a8b9cee1a2cb22bda565662edec52eb70e
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
* expectations
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Diffstat (limited to 'components/webgpu')
-rw-r--r-- | components/webgpu/wgpu_thread.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/webgpu/wgpu_thread.rs b/components/webgpu/wgpu_thread.rs index f213b8570f3..cf65b2bd580 100644 --- a/components/webgpu/wgpu_thread.rs +++ b/components/webgpu/wgpu_thread.rs @@ -627,10 +627,10 @@ impl WGPU { .unwrap(); let global = &self.global; for b_id in data.available_buffer_ids.iter() { - gfx_select!(b_id => global.buffer_drop(*b_id, false)); + gfx_select!(b_id => global.buffer_drop(*b_id)); } for b_id in data.queued_buffer_ids.iter() { - gfx_select!(b_id => global.buffer_drop(*b_id, false)); + gfx_select!(b_id => global.buffer_drop(*b_id)); } for b_id in data.unassigned_buffer_ids.iter() { if let Err(e) = self.script_sender.send(WebGPUMsg::FreeBuffer(*b_id)) { @@ -1291,7 +1291,7 @@ impl WGPU { }, WebGPURequest::DropTexture(id) => { let global = &self.global; - gfx_select!(id => global.texture_drop(id, false)); + gfx_select!(id => global.texture_drop(id)); self.poller.wake(); if let Err(e) = self.script_sender.send(WebGPUMsg::FreeTexture(id)) { warn!("Unable to send FreeTexture({:?}) ({:?})", id, e); @@ -1306,7 +1306,7 @@ impl WGPU { }, WebGPURequest::DropBuffer(id) => { let global = &self.global; - gfx_select!(id => global.buffer_drop(id, false)); + gfx_select!(id => global.buffer_drop(id)); self.poller.wake(); if let Err(e) = self.script_sender.send(WebGPUMsg::FreeBuffer(id)) { warn!("Unable to send FreeBuffer({:?}) ({:?})", id, e); @@ -1366,7 +1366,7 @@ impl WGPU { }, WebGPURequest::DropTextureView(id) => { let global = &self.global; - let _result = gfx_select!(id => global.texture_view_drop(id, false)); + let _result = gfx_select!(id => global.texture_view_drop(id)); self.poller.wake(); if let Err(e) = self.script_sender.send(WebGPUMsg::FreeTextureView(id)) { warn!("Unable to send FreeTextureView({:?}) ({:?})", id, e); |