aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2024-05-08 07:38:11 +0200
committerGitHub <noreply@github.com>2024-05-08 05:38:11 +0000
commitc4f8599404e52da58e9e4e8f8aef3e7efa4996c9 (patch)
tree7026e12dc13bb16a69b65a18ac353c6fcea675e7 /components/script/script_thread.rs
parent5298ccb0eb9e05bc9d0ec71b7c1d5610b5164aca (diff)
downloadservo-c4f8599404e52da58e9e4e8f8aef3e7efa4996c9.tar.gz
servo-c4f8599404e52da58e9e4e8f8aef3e7efa4996c9.zip
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`
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 93db23c6201..36914a21507 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -2125,7 +2125,7 @@ impl ScriptThread {
WebGPUMsg::FreeCommandBuffer(id) => self
.gpu_id_hub
.lock()
- .kill_command_buffer_id(id.transmute()),
+ .kill_command_buffer_id(id.into_command_encoder_id()),
WebGPUMsg::FreeSampler(id) => self.gpu_id_hub.lock().kill_sampler_id(id),
WebGPUMsg::FreeShaderModule(id) => self.gpu_id_hub.lock().kill_shader_module_id(id),
WebGPUMsg::FreeRenderBundle(id) => self.gpu_id_hub.lock().kill_render_bundle_id(id),