Enum
VkPipelineLayoutCreateFlagBits
Pipeline layout creation flag bits
typedef enum VkPipelineLayoutCreateFlagBits {
// Provided by extensions
VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT = 0x00000002,
VK_PIPELINE_LAYOUT_CREATE_NO_TASK_SHADER_BIT_KHR = 0x00000004,
} VkPipelineLayoutCreateFlagBits;
pub struct PipelineLayoutCreateFlagBits(u32);
impl PipelineLayoutCreateFlagBits {
pub const INDEPENDENT_SETS_EXT: Self = 0x00000002;
pub const NO_TASK_SHADER_KHR: Self = 0x00000004;
}
VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXTspecifies that implementations must ensure that the properties and/or absence of a particular descriptor set do not influence any other properties of the pipeline layout. This allows pipelines libraries linked withoutVK_PIPELINE_CREATE_LINK_TIME_OPTIMIZATION_BIT_EXTto be created with a subset of the total descriptor sets.VK_PIPELINE_LAYOUT_CREATE_NO_TASK_SHADER_BIT_KHR, when used in combination withVK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT, specifies that this pipeline layout will only be used to draw with shader objects created withVK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXT.
Type
Enum