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;
  • VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT specifies 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 without VK_PIPELINE_CREATE_LINK_TIME_OPTIMIZATION_BIT_EXT to be created with a subset of the total descriptor sets.
  • VK_PIPELINE_LAYOUT_CREATE_NO_TASK_SHADER_BIT_KHR, when used in combination with VK_PIPELINE_LAYOUT_CREATE_INDEPENDENT_SETS_BIT_EXT, specifies that this pipeline layout will only be used to draw with shader objects created with VK_SHADER_CREATE_NO_TASK_SHADER_BIT_EXT.