Implement GPURenderPipeline

Add webidl for GPURenderPipeline and implement GPUDevice.createRenderPipeline()
This commit is contained in:
Kunal Mohan 2020-05-29 11:15:31 +05:30
parent f014f15d4e
commit 130de8b8e6
15 changed files with 659 additions and 22 deletions

View file

@ -1955,6 +1955,7 @@ impl ScriptThread {
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),
WebGPUMsg::FreeRenderPipeline(id) => self.gpu_id_hub.lock().kill_render_pipeline_id(id),
WebGPUMsg::Exit => *self.webgpu_port.borrow_mut() = None,
_ => {},
}