@@ -58,10 +58,10 @@ mod webgpu_impl {
5858 pub const WEBGPU_FEATURE_FLOAT32_FILTERABLE : u64 = 1 << 12 ;
5959
6060 #[ doc( hidden) ]
61- pub const WEBGPU_FEATURE_DUAL_SOURCE_BLENDING : u64 = 1 << 13 ;
61+ pub const WEBGPU_FEATURE_CLIP_DISTANCES : u64 = 1 << 13 ;
6262
6363 #[ doc( hidden) ]
64- pub const WEBGPU_FEATURE_CLIP_DISTANCES : u64 = 1 << 14 ;
64+ pub const WEBGPU_FEATURE_DUAL_SOURCE_BLENDING : u64 = 1 << 14 ;
6565
6666 #[ doc( hidden) ]
6767 pub const WEBGPU_FEATURE_IMMEDIATES : u64 = 1 << 15 ;
@@ -1509,6 +1509,15 @@ bitflags_array! {
15091509 /// This is a web and native feature.
15101510 const FLOAT32_FILTERABLE = WEBGPU_FEATURE_FLOAT32_FILTERABLE ;
15111511
1512+ /// Allows the use of `@builtin(clip_distances)` in WGSL.
1513+ ///
1514+ /// Supported platforms:
1515+ /// - Vulkan (mainly on Desktop GPUs)
1516+ /// - GL (Desktop or `GL_EXT_clip_cull_distance`)
1517+ ///
1518+ /// This is a web and native feature.
1519+ const CLIP_DISTANCES = WEBGPU_FEATURE_CLIP_DISTANCES ;
1520+
15121521 /// Allows two outputs from a shader to be used for blending.
15131522 /// Note that dual-source blending doesn't support multiple render targets.
15141523 ///
@@ -1523,15 +1532,6 @@ bitflags_array! {
15231532 /// This is a web and native feature.
15241533 const DUAL_SOURCE_BLENDING = WEBGPU_FEATURE_DUAL_SOURCE_BLENDING ;
15251534
1526- /// Allows the use of `@builtin(clip_distances)` in WGSL.
1527- ///
1528- /// Supported platforms:
1529- /// - Vulkan (mainly on Desktop GPUs)
1530- /// - GL (Desktop or `GL_EXT_clip_cull_distance`)
1531- ///
1532- /// This is a web and native feature.
1533- const CLIP_DISTANCES = WEBGPU_FEATURE_CLIP_DISTANCES ;
1534-
15351535 /// Allows the use of immediate data: small, fast bits of memory that can be updated
15361536 /// inside a [`RenderPass`].
15371537 ///
0 commit comments