C Specification
The VkPipelineBinaryKeyKHR
structure is defined as:
// Provided by VK_KHR_pipeline_binary
typedef struct VkPipelineBinaryKeyKHR {
VkStructureType sType;
void* pNext;
uint32_t keySize;
uint8_t key[VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR];
} VkPipelineBinaryKeyKHR;
Members
-
sType
is a VkStructureType value identifying this structure. -
pNext
isNULL
or a pointer to a structure extending this structure. -
keySize
is the size, in bytes, of valid data returned inkey
. -
key
is a buffer of opaque data specifying a pipeline binary key.
Description
Any returned values beyond the first keySize
bytes are undefined.
Implementations must return a keySize
greater than 0, and
less-or-equal to VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR
.
Two keys are considered equal if keySize
is equal and the first
keySize
bytes of key
compare equal.
Implementations may return a different keySize
for different
binaries.
Implementations should ensure that keySize
is large enough to
uniquely identify a pipeline binary.
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.