1// Copyright 2019-2022 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 20ifdef::VK_KHR_ray_query[] 21 * [[VUID-{refpage}-commandBuffer-04617]] 22 If any of the shader stages of the sname:VkPipeline bound to the 23 pipeline bind point used by this command uses the 24 <<spirvenv-capabilities-table-RayQueryKHR, code:RayQueryKHR>> 25 capability, then pname:commandBuffer must: not be a protected command 26 buffer 27endif::VK_KHR_ray_query[] 28endif::VK_VERSION_1_1[] 29// Common Valid Usage 30