C Specification
The VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT structure is
defined as:
// Provided by VK_EXT_mutable_descriptor_type
typedef struct VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT {
VkStructureType sType;
void* pNext;
VkBool32 mutableDescriptorType;
} VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT;
or the equivalent
// Provided by VK_VALVE_mutable_descriptor_type
typedef VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT VkPhysicalDeviceMutableDescriptorTypeFeaturesVALVE;
Description
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
mutableDescriptorTypeindicates that the implementation must support using the VkDescriptorType ofVK_DESCRIPTOR_TYPE_MUTABLE_EXTwith at least the following descriptor types, where any combination of the types must be supported:-
VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE -
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE -
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER -
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER -
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER -
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER
-
-
Additionally,
mutableDescriptorTypeindicates that:-
Non-uniform descriptor indexing must be supported if all descriptor types in a VkMutableDescriptorTypeListEXT for
VK_DESCRIPTOR_TYPE_MUTABLE_EXThave the corresponding non-uniform indexing features enabled in VkPhysicalDeviceDescriptorIndexingFeatures. -
VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BITwithdescriptorTypeofVK_DESCRIPTOR_TYPE_MUTABLE_EXTrelaxes the list of required descriptor types to the descriptor types which have the corresponding update-after-bind feature enabled in VkPhysicalDeviceDescriptorIndexingFeatures. -
Dynamically uniform descriptor indexing must be supported if all descriptor types in a VkMutableDescriptorTypeListEXT for
VK_DESCRIPTOR_TYPE_MUTABLE_EXThave the corresponding dynamic indexing features enabled. -
VK_DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_EXTmust be supported. -
VK_DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_EXTmust be supported.
-
If the VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT 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.
VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT can also be used in the pNext chain of
VkDeviceCreateInfo to selectively enable these features.
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.