File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1517,6 +1517,15 @@ bitflags_array! {
15171517 /// - Vulkan
15181518 const FLOAT32_BLENDABLE = WEBGPU_FEATURE_FLOAT32_BLENDABLE ;
15191519
1520+ /// Allows the use of `@builtin(clip_distances)` in WGSL.
1521+ ///
1522+ /// Supported platforms:
1523+ /// - Vulkan (mainly on Desktop GPUs)
1524+ /// - GL (Desktop or `GL_EXT_clip_cull_distance`)
1525+ ///
1526+ /// This is a web and native feature.
1527+ const CLIP_DISTANCES = WEBGPU_FEATURE_CLIP_DISTANCES ;
1528+
15201529 /// Allows two outputs from a shader to be used for blending.
15211530 /// Note that dual-source blending doesn't support multiple render targets.
15221531 ///
@@ -1531,15 +1540,6 @@ bitflags_array! {
15311540 /// This is a web and native feature.
15321541 const DUAL_SOURCE_BLENDING = WEBGPU_FEATURE_DUAL_SOURCE_BLENDING ;
15331542
1534- /// Allows the use of `@builtin(clip_distances)` in WGSL.
1535- ///
1536- /// Supported platforms:
1537- /// - Vulkan (mainly on Desktop GPUs)
1538- /// - GL (Desktop or `GL_EXT_clip_cull_distance`)
1539- ///
1540- /// This is a web and native feature.
1541- const CLIP_DISTANCES = WEBGPU_FEATURE_CLIP_DISTANCES ;
1542-
15431543 /// Allows the use of immediate data: small, fast bits of memory that can be updated
15441544 /// inside a [`RenderPass`].
15451545 ///
You can’t perform that action at this time.
0 commit comments