VK_KHR_vertex_attribute_divisor(3)

# VK_KHR_vertex_attribute_divisor(3) Manual Page

## Name

VK_KHR_vertex_attribute_divisor - device extension

Loading… please wait.

## Registered Extension Number

526

## Revision

1

## Ratification Status

Ratified

## Extension and Version Dependencies

VK_KHR_get_physical_device_properties2
or
Version 1.1

## Contact

- Shahbaz Youssefi syoussefi

## Extension Proposal

VK_KHR_vertex_attribute_divisor

## Other Extension Metadata

Last Modified Date

  2023-09-20

IP Status

  No known IP claims.

Contributors

  - Shahbaz Youssefi, Google

  - Contributors to `VK_EXT_vertex_attribute_divisor`

## Description

This extension is based on the `VK_EXT_vertex_attribute_divisor` extension. The only difference is the new property `supportsNonZeroFirstInstance`, which indicates support for non-zero values in `firstInstance`. This allows the extension to be supported on implementations that have traditionally only supported OpenGL ES.

## New Structures

- VkVertexInputBindingDivisorDescriptionKHR

- Extending VkPhysicalDeviceFeatures2, VkDeviceCreateInfo:

  - VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR

- Extending VkPhysicalDeviceProperties2:

  - VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR

- Extending VkPipelineVertexInputStateCreateInfo:

  - VkPipelineVertexInputDivisorStateCreateInfoKHR

## New Enum Constants

- `VK_KHR_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME`

- `VK_KHR_VERTEX_ATTRIBUTE_DIVISOR_SPEC_VERSION`

- Extending VkStructureType:

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR`

  - `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR`

  - `VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR`

## Version History

- Revision 1, 2023-09-20 (Shahbaz Youssefi)

  - First Version, based on `VK_EXT_vertex_attribute_divisor`

## See Also

VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR, VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR, VkPipelineVertexInputDivisorStateCreateInfoKHR, VkVertexInputBindingDivisorDescriptionKHR

## Document Notes

For more information, see the Vulkan Specification

This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.

## Copyright

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0