vkCmdPushDataEXT(3)
C Specification
To update push data when using descriptor heaps, call:
// Provided by VK_EXT_descriptor_heap
void vkCmdPushDataEXT(
VkCommandBuffer commandBuffer,
const VkPushDataInfoEXT* pPushDataInfo);
Parameters
-
commandBufferis the command buffer in which the push data update will be recorded. -
pPushDataInfois a pointer to a VkPushDataInfoEXT structure.
Description
When vkCmdPushDataEXT is recorded, it
immediately invalidates all non-heap descriptor state.
Similarly, recording any non-heap descriptor state commands immediately
invalidates state set by this command.
All push data is available to all shaders using the existing
PushConstant Storage Class.
|
Device addresses in push data are intended as the fast path for shader-constant data that does not fit into push data directly. These addresses can also be mapped to an existing buffer declaration in the shader using set and binding decorations, which will be the preferred path for some implementations initially, though such implementations are expected to lean less on this mechanism over time. |
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.