VkPipelineCacheHeaderVersionDataGraphQCOM - Structure describing the layout of the pipeline cache header for data graphs
Description
The application should verify that the header info is compatible with the DataGraphProcessingEngineCreateInfoARM passed during pipeline creation. Implementations may return PIPELINE_COMPILE_REQUIRED_EXT from createDataGraphPipelinesARM if the cache is not compatible.
This cache type is built using offline compilation, therefore Vulkan does not define engine compatibility. The application should refer to the offline compiler used to create the cache for guidance on compatibility.
Unlike most structures declared by the Vulkan API, all fields of this structure are written with the least significant byte first, regardless of host byte-order.
The C language specification does not define the packing of structure members. This layout assumes tight structure member packing, with members laid out in the order listed in the structure, and the intended size of the structure is 28 bytes. If a compiler produces code that diverges from that pattern, applications must employ another method to set values at the correct offsets.
Valid Usage
The dataGraphModel feature must be enabled
headerSizemust be 28headerVersionmust be PIPELINE_CACHE_HEADER_VERSION_DATA_GRAPH_QCOMheaderSizemust not exceed the size of the pipeline cache
Valid Usage (Implicit)
headerVersionmust be a valid PipelineCacheHeaderVersion value
cacheTypemust be a valid DataGraphModelCacheTypeQCOM value
See Also
VK_QCOM_data_graph_model, DataGraphModelCacheTypeQCOM, PipelineCacheHeaderVersion
Constructors
PipelineCacheHeaderVersionDataGraphQCOMheaderSize :: Word32headerSizeis the length in bytes of the pipeline cache header.headerVersion :: PipelineCacheHeaderVersionheaderVersionis a PipelineCacheHeaderVersion value specifying the version of the header. A consumer of the pipeline cache should use the cache version to interpret the remainder of the cache header.headerVersionmust be written as exactly 4 bytes.cacheType :: DataGraphModelCacheTypeQCOMcacheTypeis the DataGraphModelCacheTypeQCOM type of data graph cache encoded in the data.cacheVersion :: Word32cacheVersionis the version of the encoding of the data graph cache.toolchainVersion :: Vector Word32toolchainVersionis a null-terminated UTF-8 string specifying the version of the compiler that built the data graph cache.
Instances5Show, Storable, FromCStruct, ToCStruct, Zero
Show PipelineCacheHeaderVersionDataGraphQCOMDefined in vulkan-3.27 · Vulkan.Extensions.VK_QCOM_data_graph_modelStorable PipelineCacheHeaderVersionDataGraphQCOMDefined in vulkan-3.27 · Vulkan.Extensions.VK_QCOM_data_graph_modelFromCStruct PipelineCacheHeaderVersionDataGraphQCOMDefined in vulkan-3.27 · Vulkan.Extensions.VK_QCOM_data_graph_modelToCStruct PipelineCacheHeaderVersionDataGraphQCOMDefined in vulkan-3.27 · Vulkan.Extensions.VK_QCOM_data_graph_modelZero PipelineCacheHeaderVersionDataGraphQCOMDefined in vulkan-3.27 · Vulkan.Extensions.VK_QCOM_data_graph_model