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.
In order to maximize performance of constant data inputs, addresses should
be aligned to |
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.