• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2019-2021 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5// Common Valid Usage
6// Common to non-indirect drawing commands
7ifdef::VK_VERSION_1_1[]
8  * [[VUID-{refpage}-commandBuffer-02712]]
9    If pname:commandBuffer is a protected command buffer and
10    <<limits-protectedNoFault, pname:protectedNoFault>> is not supported,
11    any resource written to by the sname:VkPipeline object bound to the
12    pipeline bind point used by this command must: not be an unprotected
13    resource
14  * [[VUID-{refpage}-commandBuffer-02713]]
15    If pname:commandBuffer is a protected command buffer and
16    <<limits-protectedNoFault, pname:protectedNoFault>> is not supported,
17    pipeline stages other than the framebuffer-space and compute stages in
18    the sname:VkPipeline object bound to the pipeline bind point used by
19    this command must: not write to any resource
20  * [[VUID-{refpage}-commandBuffer-04617]]
21    If any of the shader stages of the sname:VkPipeline bound to the
22    pipeline bind point used by this command uses the
23    <<spirvenv-capabilities-table-RayQueryKHR,RayQueryKHR>> capability, then
24    pname:commandBuffer must: not be a protected command buffer
25endif::VK_VERSION_1_1[]
26// Common Valid Usage
27