C Specification

If the pNext chain of VkSubmitInfo includes a VkProtectedSubmitInfo structure, then the structure indicates whether the batch is protected. The VkProtectedSubmitInfo structure is defined as:

typedef struct VkProtectedSubmitInfo {
    VkStructureType    sType;
    const void*        pNext;
    VkBool32           protectedSubmit;
} VkProtectedSubmitInfo;

Members

  • protectedSubmit specifies whether the batch is protected. If protectedSubmit is VK_TRUE, the batch is protected. If protectedSubmit is VK_FALSE, the batch is unprotected. If the VkSubmitInfo::pNext chain does not contain this structure, the batch is unprotected.

Description

Valid Usage
  • If the protected memory feature is not enabled, protectedSubmit must not be VK_TRUE.

  • If protectedSubmit is VK_TRUE, then each element of the pCommandBuffers array must be a protected command buffer.

  • If protectedSubmit is VK_FALSE, then each element of the pCommandBuffers array must be an unprotected command buffer.

  • If the VkSubmitInfo::pNext chain does not include a VkProtectedSubmitInfo structure, then each element of the command buffer of the pCommandBuffers array must be an unprotected command buffer.

Valid Usage (Implicit)
  • sType must be VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO

See Also

VkBool32, VkStructureType

Document Notes

For more information, see the Vulkan Specification at URL

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.