diff options
author | Kunal Mohan <kunalmohan99@gmail.com> | 2020-06-19 00:52:16 +0530 |
---|---|---|
committer | Kunal Mohan <kunalmohan99@gmail.com> | 2020-06-19 11:12:50 +0530 |
commit | 48ef306bd3f1c9abbd1437e7a8f2b21b7b307a04 (patch) | |
tree | 0225482e8b537e696169b0cff97d564487747d78 /components/script/dom/gpucomputepassencoder.rs | |
parent | 00b3f785c4d4bb4da9d883128d9dc18e0406ad71 (diff) | |
download | servo-48ef306bd3f1c9abbd1437e7a8f2b21b7b307a04.tar.gz servo-48ef306bd3f1c9abbd1437e7a8f2b21b7b307a04.zip |
Update wgpu-core and wgpu-types
Diffstat (limited to 'components/script/dom/gpucomputepassencoder.rs')
-rw-r--r-- | components/script/dom/gpucomputepassencoder.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/gpucomputepassencoder.rs b/components/script/dom/gpucomputepassencoder.rs index f202cc37038..68fb641bd25 100644 --- a/components/script/dom/gpucomputepassencoder.rs +++ b/components/script/dom/gpucomputepassencoder.rs @@ -22,6 +22,7 @@ use webgpu::{ }, RawPass, }, + wgpu::id, WebGPU, WebGPURequest, }; @@ -32,7 +33,7 @@ pub struct GPUComputePassEncoder { channel: WebGPU, label: DomRefCell<Option<DOMString>>, #[ignore_malloc_size_of = "defined in wgpu-core"] - raw_pass: DomRefCell<Option<RawPass>>, + raw_pass: DomRefCell<Option<RawPass<id::CommandEncoderId>>>, command_encoder: Dom<GPUCommandEncoder>, } |