VkDataGraphPipelineConstantARM
The VkDataGraphPipelineConstantARM structure is defined as:
typedef struct VkDataGraphPipelineConstantARM {
VkStructureType sType;
const void* pNext;
uint32_t id;
const void* pConstantData;
} VkDataGraphPipelineConstantARM;
pub struct DataGraphPipelineConstantARM {
s_type: vk::StructureType,
p_next: *const c_void,
id: u32,
p_constant_data: *const c_void,
}
sTypeis a VkStructureType value identifying this structure.pNextis a pointer to a structure extending this structure.idis the unique identifier of the graph constant this structure describes.pConstantDatais a pointer to the data for this graph constant.
The size and layout of the data pointed to by pConstantData is
specified by a specific structure in the pNext chain for each type of
graph constant.
For graph constants of tensor type, the layout of the data is specified by a VkTensorDescriptionARM structure. The data must be laid out according to the following members of this structure:
- VkTensorDescriptionARM::
tiling - VkTensorDescriptionARM::
format - VkTensorDescriptionARM::
dimensionCount - VkTensorDescriptionARM::
pDimensions - VkTensorDescriptionARM::
pStrides
The presence of a
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
structure in the pNext chain has no impact on the expected layout of
the data pointed to by pConstantData.
Valid Usage
VUID-VkDataGraphPipelineConstantARM-pNext-09775
If the pNext chain of this structure includes one or more
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
structures then it must also include a VkTensorDescriptionARM
structure
VUID-VkDataGraphPipelineConstantARM-pNext-09776
If the pNext chain of this structure includes one or more
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
structures then, for each structure,
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM::dimensionmust be less than VkTensorDescriptionARM::dimensionCount
VUID-VkDataGraphPipelineConstantARM-pNext-09777
If the pNext chain of this structure includes a
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
structure then, for each structure,
VkTensorDescriptionARM::pDimensions[VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM::dimension]
must be a multiple of
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM::groupSize
VUID-VkDataGraphPipelineConstantARM-pNext-09870
If the pNext chain of this structure includes multiple
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
structures then no two structures may have their
VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM::dimension
member set to the same value
VUID-VkDataGraphPipelineConstantARM-id-09850
If the pNext chain of this structure includes a
VkTensorDescriptionARM structure, then its usage member
must contain VK_TENSOR_USAGE_DATA_GRAPH_BIT_ARM
VUID-VkDataGraphPipelineConstantARM-pNext-09917
If the pNext chain of this structure includes a
VkTensorDescriptionARM structure, then its tiling member
must be VK_TENSOR_TILING_LINEAR_ARM
Valid Usage (Implicit)
VUID-VkDataGraphPipelineConstantARM-sType-sType
sType must be VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CONSTANT_ARM
VUID-VkDataGraphPipelineConstantARM-pNext-pNext
Each pNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM or VkTensorDescriptionARM
VUID-VkDataGraphPipelineConstantARM-sType-unique
The sType value of each structure in the pNext chain must be unique, with the exception of structures of type VkDataGraphPipelineConstantTensorSemiStructuredSparsityInfoARM
VUID-VkDataGraphPipelineConstantARM-pConstantData-parameter
pConstantData must be a pointer value