Structures

VkBindShaderGroupIndirectCommandNV

Structure specifying input data for a single shader group command token

The VkBindShaderGroupIndirectCommandNV structure specifies the input data for the VK_INDIRECT_COMMANDS_TOKEN_TYPE_SHADER_GROUP_NV token.

typedef struct VkBindShaderGroupIndirectCommandNV {
    uint32_t groupIndex;
} VkBindShaderGroupIndirectCommandNV;
  • groupIndex specifies which shader group of the current bound graphics pipeline is used.

Valid Usage

VUID-VkBindShaderGroupIndirectCommandNV-None-02944

The current bound graphics pipeline, as well as the pipelines it may reference, must have been created with VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV

VUID-VkBindShaderGroupIndirectCommandNV-index-02945

The index must be within range of the accessible shader groups of the current bound graphics pipeline. See vkCmdBindPipelineShaderGroupNV for further details