# VkGeneratedCommandsShaderInfoEXT(3) Manual Page

## Name

VkGeneratedCommandsShaderInfoEXT - Structure specifying shader objects for use with indirect command preprocessing

Loading… please wait.

## C Specification

    // Provided by VK_EXT_device_generated_commands
    typedef struct VkGeneratedCommandsShaderInfoEXT {
        VkStructureType       sType;
        void*                 pNext;
        uint32_t              shaderCount;
        const VkShaderEXT*    pShaders;
    } VkGeneratedCommandsShaderInfoEXT;

## Members

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

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

- `shaderCount` is the size of the `pShaders` array.

- `pShaders` is a pointer to an array of shader objects.

## Description

Valid Usage

- VUID-VkGeneratedCommandsShaderInfoEXT-pShaders-11127
  `pShaders` must not contain more than one shader object for a given VkShaderStageFlagBits stage

Valid Usage (Implicit)

- VUID-VkGeneratedCommandsShaderInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_GENERATED_COMMANDS_SHADER_INFO_EXT`

- VUID-VkGeneratedCommandsShaderInfoEXT-pShaders-parameter
  `pShaders` must be a valid pointer to an array of `shaderCount` valid VkShaderEXT handles

- VUID-VkGeneratedCommandsShaderInfoEXT-shaderCount-arraylength
  `shaderCount` must be greater than `0`

## See Also

VK_EXT_device_generated_commands, VkShaderEXT, 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