C Specification
The VkDataGraphPipelineConstantARM
structure is defined as:
// Provided by VK_ARM_data_graph
typedef struct VkDataGraphPipelineConstantARM {
VkStructureType sType;
const void* pNext;
uint32_t id;
const void* pConstantData;
} VkDataGraphPipelineConstantARM;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
is a pointer to a structure extending this structure. -
id
is the unique identifier of the graph constant this structure describes. -
pConstantData
is a pointer to the data for this graph constant.
Description
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
.
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.