To save a compute pipeline’s metadata at a device address call:
// Provided by VK_NV_device_generated_commands_compute void vkCmdUpdatePipelineIndirectBufferNV( VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline);
commandBufferis the command buffer into which the command will be recorded.
pipelineBindPointis a VkPipelineBindPoint value specifying the type of pipeline whose metadata will be saved.
pipelineis the pipeline whose metadata will be saved.
vkCmdUpdatePipelineIndirectBufferNV is only allowed outside of a
This command is treated as a “transfer” operation for the purposes of
The writes to the address must be synchronized using stages
VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV and with access masks
VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV respectively before using the
results in preprocessing.
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.