C Specification

Bits which can be set in VkRenderingInfoKHR::flags describing additional properties of the render pass are:

// Provided by VK_KHR_dynamic_rendering
typedef enum VkRenderingFlagBitsKHR {
    VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR = 0x00000001,
    VK_RENDERING_SUSPENDING_BIT_KHR = 0x00000002,
    VK_RENDERING_RESUMING_BIT_KHR = 0x00000004,
} VkRenderingFlagBitsKHR;

Description

  • VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR specifies that draw calls for the render pass instance will be recorded in secondary command buffers.

  • VK_RENDERING_RESUMING_BIT_KHR specifies that the render pass instance is resuming an earlier suspended render pass instance.

  • VK_RENDERING_SUSPENDING_BIT_KHR specifies that the render pass instance will be suspended.

The contents of pRenderingInfo must match between suspended render pass instances and the render pass instances that resume them, other than the presence or absence of the VK_RENDERING_RESUMING_BIT_KHR, VK_RENDERING_SUSPENDING_BIT_KHR, and VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT_KHR flags. No action or synchronization commands, or other render pass instances, are allowed between suspending and resuming render pass instances.

See Also

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.

Copyright 2014-2021 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0