Structures
VkShaderModuleIdentifierEXT
A unique identifier for a shader module
VkShaderModuleIdentifierEXT represents a shader module identifier returned by the implementation.
typedef struct VkShaderModuleIdentifierEXT {
VkStructureType sType;
void* pNext;
uint32_t identifierSize;
uint8_t identifier[VK_MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT];
} VkShaderModuleIdentifierEXT;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.identifierSize
is the size, in bytes, of valid data returned inidentifier
.identifier
is a buffer of opaque data specifying an identifier.
Any returned values beyond the first identifierSize
bytes are
undefined:.
Implementations must return an identifierSize
greater than 0, and
less-or-equal to VK_MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT
.
Two identifiers are considered equal if identifierSize
is equal and
the first identifierSize
bytes of identifier
compare equal.
Implementations may return a different identifierSize
for different
modules.
Implementations should ensure that identifierSize
is large enough to
uniquely define a shader module.
Valid Usage (Implicit)
VUID-VkShaderModuleIdentifierEXT-sType-sType
sType
must be VK_STRUCTURE_TYPE_SHADER_MODULE_IDENTIFIER_EXT
VUID-VkShaderModuleIdentifierEXT-pNext-pNext
pNext
must be NULL