VkPipelineCreateFlags2CreateInfo(3)

# VkPipelineCreateFlags2CreateInfo(3) Manual Page

## Name

VkPipelineCreateFlags2CreateInfo - Extended pipeline create flags

## C Specification

The `VkPipelineCreateFlags2CreateInfo` structure is defined as:

    // Provided by VK_VERSION_1_4
    typedef struct VkPipelineCreateFlags2CreateInfo {
        VkStructureType           sType;
        const void*               pNext;
        VkPipelineCreateFlags2    flags;
    } VkPipelineCreateFlags2CreateInfo;

    // Provided by VK_KHR_extended_flags, VK_KHR_maintenance5
    // Equivalent to VkPipelineCreateFlags2CreateInfo
    typedef VkPipelineCreateFlags2CreateInfo VkPipelineCreateFlags2CreateInfoKHR;

## Members

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `flags` is a bitmask of VkPipelineCreateFlagBits2 specifying how a pipeline will be generated.

## Description

If this structure is included in the `pNext` chain of a pipeline creation structure, `flags` is used instead of the corresponding `flags` value passed in that creation structure, allowing additional creation flags to be specified.

Valid Usage (Implicit)

- VUID-VkPipelineCreateFlags2CreateInfo-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO

- VUID-VkPipelineCreateFlags2CreateInfo-flags-parameter
  `flags` must be a valid combination of VkPipelineCreateFlagBits2 values

Structure Chaining

Extends the structures

  - VkComputePipelineCreateInfo

  - VkGraphicsPipelineCreateInfo

  - VkRayTracingPipelineCreateInfoKHR

  - VkRayTracingPipelineCreateInfoNV

## See Also

VK_KHR_extended_flags, VK_KHR_maintenance5, VK_VERSION_1_4, VkPipelineCreateFlags2, VkStructureType

## Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0