# VkPhysicalDevicePerStageDescriptorSetFeaturesNV(3) Manual Page

## Name

VkPhysicalDevicePerStageDescriptorSetFeaturesNV - Structure describing feature to allow descriptor set layout bindings to be per-stage

Loading… please wait.

## C Specification

The `VkPhysicalDevicePerStageDescriptorSetFeaturesNV` structure is defined as:

    // Provided by VK_NV_per_stage_descriptor_set
    typedef struct VkPhysicalDevicePerStageDescriptorSetFeaturesNV {
        VkStructureType    sType;
        void*              pNext;
        VkBool32           perStageDescriptorSet;
        VkBool32           dynamicPipelineLayout;
    } VkPhysicalDevicePerStageDescriptorSetFeaturesNV;

## Members

This structure describes the following feature:

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

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

- `perStageDescriptorSet` indicates that the implementation allows the `VK_DESCRIPTOR_SET_LAYOUT_CREATE_PER_STAGE_BIT_NV` descriptor set layout creation flag to be used so the bindings are specified per-stage rather than across all stages.

- `dynamicPipelineLayout` indicates the implementation allows the `layout` member of VkBindDescriptorSetsInfo, VkPushConstantsInfo, VkPushDescriptorSetInfo, VkPushDescriptorSetWithTemplateInfo, VkSetDescriptorBufferOffsetsInfoEXT and VkBindDescriptorBufferEmbeddedSamplersInfoEXT to be VK_NULL_HANDLE and VkPipelineLayoutCreateInfo can be chained off those structures' `pNext` instead.

## Description

If the `VkPhysicalDevicePerStageDescriptorSetFeaturesNV` structure is included in the `pNext` chain of the VkPhysicalDeviceFeatures2 structure passed to vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. `VkPhysicalDevicePerStageDescriptorSetFeaturesNV` can also be used in the `pNext` chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

- VUID-VkPhysicalDevicePerStageDescriptorSetFeaturesNV-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV`

## See Also

VK_NV_per_stage_descriptor_set, VkBool32, 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-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0