Structures

VkDataGraphPipelineShaderModuleCreateInfoARM

Structure specifying shader module parameters of a newly created data graph pipeline

The VkDataGraphPipelineShaderModuleCreateInfoARM structure is defined as:

typedef struct VkDataGraphPipelineShaderModuleCreateInfoARM {
    VkStructureType sType;
    const void* pNext;
    VkShaderModule module;
    const char* pName;
    const VkSpecializationInfo* pSpecializationInfo;
    uint32_t constantCount;
    const VkDataGraphPipelineConstantARM* pConstants;
} VkDataGraphPipelineShaderModuleCreateInfoARM;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • module is optionally a VkShaderModule object containing the description of the graph.
  • pName is a pointer to a null-terminated UTF-8 string specifying the graph entry point name for this pipeline.
  • pSpecializationInfo is a pointer to a VkSpecializationInfo structure as described in Specialization Constants, or NULL.
  • constantCount is the length of the pConstants array.
  • pConstants is a pointer to an array of VkDataGraphPipelineConstantARM structures.

If module is not VK_NULL_HANDLE, the pipeline’s graph is defined by module. If module is VK_NULL_HANDLE, the pipeline’s graph is defined by the chained VkShaderModuleCreateInfo.

Valid Usage

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-dataGraphSpecializationConstants-09849

If the dataGraphSpecializationConstants feature is not enabled then pSpecializationInfo must be NULL and module must not contain any OpSpec* instructions

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-pName-09872

pName must be the name of an OpGraphEntryPointARM in module

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-pNext-09874

If the pNext chain does not include a VkShaderModuleCreateInfo structure, then module must be a valid VkShaderModule

Valid Usage (Implicit)

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-sType-sType

sType must be VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SHADER_MODULE_CREATE_INFO_ARM

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-pName-parameter

pName must be a null-terminated UTF-8 string

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-pSpecializationInfo-parameter

If pSpecializationInfo is not NULL, pSpecializationInfo must be a valid pointer to a valid VkSpecializationInfo structure

VUID-VkDataGraphPipelineShaderModuleCreateInfoARM-pConstants-parameter

If constantCount is not 0, and pConstants is not NULL, pConstants must be a valid pointer to an array of constantCount valid VkDataGraphPipelineConstantARM structures