diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-05-23 22:04:09 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-05-26 00:00:35 +0530 |
commit | dd04716b852471ba75e4bf44ced0e2d481e99ab2 (patch) | |
tree | 31262d46335d21ef23bc50faab54522f6b902253 /components/script/script_thread.rs | |
parent | 43f29fe0cefe2e7ce42e4172d6cb2a4ebe72ab0f (diff) | |
download | servo-dd04716b852471ba75e4bf44ced0e2d481e99ab2.tar.gz servo-dd04716b852471ba75e4bf44ced0e2d481e99ab2.zip |
Add GPUSampler to WebGPU implementation
Add dom_struct and webidl for GPUSampler, implement GPUDevice.createSampler() method.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index c3e2694149f..294027582fa 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -2014,6 +2014,7 @@ impl ScriptThread { self.gpu_id_hub.lock().kill_bind_group_layout_id(id) }, WebGPUMsg::FreeCommandBuffer(id) => self.gpu_id_hub.lock().kill_command_buffer_id(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), _ => {}, } |