Skip to content

Commit

Permalink
Pick an unused feature id
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Sep 20, 2023
1 parent e3a9a6c commit c31d0bc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,15 @@ bitflags::bitflags! {
/// This is a native only feature.
const VERTEX_ATTRIBUTE_64BIT = 1 << 53;

/// Allows vertex shaders to have outputs which are not consumed
/// by the fragment shader.
///
/// Supported platforms:
/// - Vulkan
/// - Metal
/// - OpenGL
const SHADER_UNUSED_VERTEX_OUTPUT = 1 << 54;

// 54..59 available

// Shader:
Expand Down Expand Up @@ -792,14 +801,6 @@ bitflags::bitflags! {
/// - Vulkan (with dualSrcBlend)
/// - DX12
const DUAL_SOURCE_BLENDING = 1 << 63;
/// Allows vertex shaders to have outputs which are not consumed
/// by the fragment shader.
///
/// Supported platforms:
/// - Vulkan
/// - Metal
/// - OpenGL
const SHADER_UNUSED_VERTEX_OUTPUT = 1 << 64;
}
}

Expand Down

0 comments on commit c31d0bc

Please sign in to comment.