C Specification
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);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
pipelineBindPoint
is a VkPipelineBindPoint value specifying the type of pipeline whose metadata will be saved. -
pipeline
is the pipeline whose metadata will be saved.
Description
vkCmdUpdatePipelineIndirectBufferNV
is only allowed outside of a
render pass.
This command is treated as a “transfer” operation for the purposes of
synchronization barriers.
The writes to the address must be synchronized using stages
VK_PIPELINE_STAGE_2_COPY_BIT
and
VK_PIPELINE_STAGE_COMMAND_PREPROCESS_BIT_NV
and with access masks
VK_ACCESS_MEMORY_WRITE_BIT
and
VK_ACCESS_COMMAND_PREPROCESS_READ_BIT_NV
respectively before using the
results in preprocessing.
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.