Top Description Fields Constructors Methods
org.lwjgl.vulkan

public final Class EXTDescriptorIndexing

extends Object
Class Inheritance

This extension adds several small features which together enable applications to create large descriptor sets containing substantially all of their resources, and selecting amongst those resources with dynamic (non-uniform) indexes in the shader. There are feature enables and SPIR-V capabilities for non-uniform descriptor indexing in the shader, and non-uniform indexing in the shader requires use of a new NonUniformEXT decoration defined in the SPV_EXT_descriptor_indexing SPIR-V extension. There are descriptor set layout binding creation flags enabling several features:

Note that it is valid for multiple descriptor arrays in a shader to use the same set and binding number, as long as they are all compatible with the descriptor type in the pipeline layout. This means a single array binding in the descriptor set can serve multiple texture dimensionalities, or an array of buffer descriptors can be used with multiple different block layouts.

There are new descriptor set layout and descriptor pool creation flags that are required to opt in to the update-after-bind functionality, and there are separate maxPerStage* and maxDescriptorSet* limits that apply to these descriptor set layouts which may be much higher than the pre-existing limits. The old limits only count descriptors in non-updateAfterBind descriptor set layouts, and the new limits count descriptors in all descriptor set layouts in the pipeline layout.

Promotion to Vulkan 1.2

Functionality in this extension is included in core Vulkan 1.2, with the EXT suffix omitted. However, if Vulkan 1.2 is supported and this extension is not, the descriptorIndexing capability is optional. The original type, enum and command names are still available as aliases of the core functionality.

VK_EXT_descriptor_indexing
Name String
VK_EXT_descriptor_indexing
Extension Type
Device extension
Registered Extension Number
162
Revision
2
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 and VK_KHR_maintenance3
Deprecation state
Contact
Other Extension Metadata
Last Modified Date
2017-10-02
Interactions and External Dependencies
Contributors
  • Jeff Bolz, NVIDIA
  • Daniel Rakos, AMD
  • Slawomir Grajewski, Intel
  • Tobias Hector, Imagination Technologies

Field Summary

Modifier and TypeField and Description
public static final int
VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT

Extends VkDescriptorBindingFlagBits.

public static final int
VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT

Extends VkDescriptorBindingFlagBits.

public static final int
public static final int
VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT

Extends VkDescriptorBindingFlagBits.

public static final int
VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT

Extends VkDescriptorPoolCreateFlagBits.

public static final int
VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT

Extends VkDescriptorSetLayoutCreateFlagBits.

public static final int
VK_ERROR_FRAGMENTATION_EXT

Extends VkResult.

public static final String
public static final int
VK_EXT_DESCRIPTOR_INDEXING_SPEC_VERSION

The extension specification version.

public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXTback to summary
public static final int VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT

Extends VkDescriptorBindingFlagBits.

Enum values:
VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXTback to summary
public static final int VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT

Extends VkDescriptorBindingFlagBits.

Enum values:
VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXTback to summary
public static final int VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT

Extends VkDescriptorBindingFlagBits.

Enum values:
VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXTback to summary
public static final int VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT

Extends VkDescriptorBindingFlagBits.

Enum values:
VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXTback to summary
public static final int VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT

Extends VkDescriptorPoolCreateFlagBits.

VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXTback to summary
public static final int VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT

Extends VkDescriptorSetLayoutCreateFlagBits.

VK_ERROR_FRAGMENTATION_EXTback to summary
public static final int VK_ERROR_FRAGMENTATION_EXT

Extends VkResult.

VK_EXT_DESCRIPTOR_INDEXING_EXTENSION_NAMEback to summary
public static final String VK_EXT_DESCRIPTOR_INDEXING_EXTENSION_NAME

The extension name.

VK_EXT_DESCRIPTOR_INDEXING_SPEC_VERSIONback to summary
public static final int VK_EXT_DESCRIPTOR_INDEXING_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXTback to summary
public static final int VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXTback to summary
public static final int VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXTback to summary
public static final int VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXTback to summary
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT

Extends VkStructureType.

Enum values:

Constructor Detail

EXTDescriptorIndexingback to summary
private EXTDescriptorIndexing()