@@ -394,6 +394,8 @@ pub enum GPUFeatureName {
394394 Bgra8unormStorage ,
395395 #[ webidl( rename = "float32-filterable" ) ]
396396 Float32Filterable ,
397+ #[ webidl( rename = "clip-distances" ) ]
398+ ClipDistances ,
397399 #[ webidl( rename = "dual-source-blending" ) ]
398400 DualSourceBlending ,
399401 #[ webidl( rename = "subgroups" ) ]
@@ -489,6 +491,7 @@ pub fn feature_names_to_features(
489491 GPUFeatureName :: Rg11b10ufloatRenderable => Features :: RG11B10UFLOAT_RENDERABLE ,
490492 GPUFeatureName :: Bgra8unormStorage => Features :: BGRA8UNORM_STORAGE ,
491493 GPUFeatureName :: Float32Filterable => Features :: FLOAT32_FILTERABLE ,
494+ GPUFeatureName :: ClipDistances => Features :: CLIP_DISTANCES ,
492495 GPUFeatureName :: DualSourceBlending => Features :: DUAL_SOURCE_BLENDING ,
493496 GPUFeatureName :: Subgroups => Features :: SUBGROUP ,
494497 GPUFeatureName :: ExternalTexture => Features :: EXTERNAL_TEXTURE ,
@@ -578,6 +581,9 @@ pub fn features_to_feature_names(
578581 if features. contains ( wgpu_types:: Features :: FLOAT32_FILTERABLE ) {
579582 return_features. insert ( Float32Filterable ) ;
580583 }
584+ if features. contains ( wgpu_types:: Features :: CLIP_DISTANCES ) {
585+ return_features. insert ( ClipDistances ) ;
586+ }
581587 if features. contains ( wgpu_types:: Features :: DUAL_SOURCE_BLENDING ) {
582588 return_features. insert ( DualSourceBlending ) ;
583589 }
0 commit comments