VkDataGraphPipelineShaderModuleCreateInfoARM
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;
pub struct DataGraphPipelineShaderModuleCreateInfoARM {
s_type: vk::StructureType,
p_next: *const c_void,
module: vk::ShaderModule,
p_name: *const c_char,
p_specialization_info: *const vk::SpecializationInfo,
constant_count: u32,
p_constants: *const vk::DataGraphPipelineConstantARM,
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.moduleis optionally a VkShaderModule object containing the description of the graph.pNameis a pointer to a null-terminated UTF-8 string specifying the graph entry point name for this pipeline.pSpecializationInfois a pointer to a VkSpecializationInfo structure as described in Specialization Constants, orNULL.constantCountis the length of thepConstantsarray.pConstantsis 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-09873
If the pNext chain includes a VkShaderModuleCreateInfo
structure, then module must be VK_NULL_HANDLE
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-module-parameter
If module is not VK_NULL_HANDLE, module must be a valid VkShaderModule handle
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