diff options
Diffstat (limited to 'components/script/dom/gpucommandencoder.rs')
-rw-r--r-- | components/script/dom/gpucommandencoder.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/gpucommandencoder.rs b/components/script/dom/gpucommandencoder.rs index e3946a9a812..ec9aa70046d 100644 --- a/components/script/dom/gpucommandencoder.rs +++ b/components/script/dom/gpucommandencoder.rs @@ -138,6 +138,7 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder { .label .as_ref() .map(|l| Cow::Borrowed(&**l)), + timestamp_writes: None, }, )) }; @@ -234,6 +235,8 @@ impl GPUCommandEncoderMethods for GPUCommandEncoder { .label .as_ref() .map(|l| Cow::Borrowed(&**l)), + timestamp_writes: None, + occlusion_query_set: None, }; Some(wgpu_com::RenderPass::new(self.encoder.0, &desc)) }; |