aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpucommandencoder.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-12-25 08:11:37 +0100
committerGitHub <noreply@github.com>2023-12-25 07:11:37 +0000
commit7973cb64586d94a6987562fe6f180ac29ef0e971 (patch)
tree7f1a0b5635c886a0da4f1bc839001d2dc5011e72 /components/script/dom/gpucommandencoder.rs
parent3ce590bec4f281ab68a817ce2d9872234a66ddf6 (diff)
downloadservo-7973cb64586d94a6987562fe6f180ac29ef0e971.tar.gz
servo-7973cb64586d94a6987562fe6f180ac29ef0e971.zip
Update wgpu to 0.18.1 (#30926)
* Update wgpu to 0.18.1 * Fix webgpu code * tidy
Diffstat (limited to 'components/script/dom/gpucommandencoder.rs')
-rw-r--r--components/script/dom/gpucommandencoder.rs3
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))
};