aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpu.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-14 15:23:12 +0200
committerGitHub <noreply@github.com>2023-09-14 13:23:12 +0000
commitd22d97f8c8aef0082bd7508e184fd8a13b00db79 (patch)
treef30f8c9d229ae7eace66e091920947ac0a37531b /components/script/dom/gpu.rs
parent6ea394a701ebd5985919f6ec6782120eef241661 (diff)
downloadservo-d22d97f8c8aef0082bd7508e184fd8a13b00db79.tar.gz
servo-d22d97f8c8aef0082bd7508e184fd8a13b00db79.zip
Add GPUSupportedFeatures and update GPUSupportedLimits (#30359)
* GPUSupportedFeatures * New supported limits * Update expectations
Diffstat (limited to 'components/script/dom/gpu.rs')
-rw-r--r--components/script/dom/gpu.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script/dom/gpu.rs b/components/script/dom/gpu.rs
index 0785ec47171..3ecd09ce088 100644
--- a/components/script/dom/gpu.rs
+++ b/components/script/dom/gpu.rs
@@ -144,6 +144,7 @@ impl AsyncWGPUListener for GPU {
Ok(WebGPUResponse::RequestAdapter {
adapter_info,
adapter_id,
+ features,
limits,
channel,
}) => {
@@ -156,6 +157,7 @@ impl AsyncWGPUListener for GPU {
adapter_id.0.backend()
)),
Heap::default(),
+ features,
limits,
adapter_info,
adapter_id,