mirror of
https://github.com/servo/servo.git
synced 2025-06-16 20:34:30 +00:00
Implement GPUComputePassEncoder functions
Implement the `dispatch`, `endPass`, `setBindGroup`, `setPipeline` functions of `GPUComputePassEncoder`.
This commit is contained in:
parent
5597ccf57d
commit
170e9971ac
10 changed files with 109 additions and 83 deletions
|
@ -42,6 +42,12 @@ impl GPUComputePipeline {
|
|||
}
|
||||
}
|
||||
|
||||
impl GPUComputePipeline {
|
||||
pub fn id(&self) -> &WebGPUComputePipeline {
|
||||
&self.compute_pipeline
|
||||
}
|
||||
}
|
||||
|
||||
impl GPUComputePipelineMethods for GPUComputePipeline {
|
||||
/// https://gpuweb.github.io/gpuweb/#dom-gpuobjectbase-label
|
||||
fn GetLabel(&self) -> Option<DOMString> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue