## C Specification

Commands and structures which need to specify one or more shader stages do so using a bitmask whose bits correspond to stages. Bits which can be set to specify shader stages are:

typedef enum VkShaderStageFlagBits {
} VkShaderStageFlagBits;

## Description

• VK_SHADER_STAGE_VERTEX_BIT specifies the vertex stage.

• VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT specifies the tessellation control stage.

• VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT specifies the tessellation evaluation stage.

• VK_SHADER_STAGE_GEOMETRY_BIT specifies the geometry stage.

• VK_SHADER_STAGE_FRAGMENT_BIT specifies the fragment stage.

• VK_SHADER_STAGE_COMPUTE_BIT specifies the compute stage.

• VK_SHADER_STAGE_ALL_GRAPHICS is a combination of bits used as shorthand to specify all graphics stages defined above (excluding the compute stage).

• VK_SHADER_STAGE_ALL is a combination of bits used as shorthand to specify all shader stages supported by the device, including all additional stages which are introduced by extensions.