mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Initial implementation of GPUComputePipeline
Added WebIDL bindings for `GPUComputePipeline`. Implemented the `createComputePipeline` function of `GPUDevice`.
This commit is contained in:
parent
a8621c4ed9
commit
9031369c19
11 changed files with 180 additions and 8 deletions
|
@ -41,6 +41,12 @@ impl GPUShaderModule {
|
|||
}
|
||||
}
|
||||
|
||||
impl GPUShaderModule {
|
||||
pub fn id(&self) -> WebGPUShaderModule {
|
||||
self.shader_module
|
||||
}
|
||||
}
|
||||
|
||||
impl GPUShaderModuleMethods for GPUShaderModule {
|
||||
/// https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label
|
||||
fn GetLabel(&self) -> Option<DOMString> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue