blob: 8b06ca476005314bf835002df51e6bf89a7329bb [file] [log] [blame]
// Copyright 2019-2021 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0
// Common Valid Usage
// common to CreateRayTracingPipelines
* [[VUID-{refpage}-flags-03415]]
If the pname:flags member of any element of pname:pCreateInfos contains
the ename:VK_PIPELINE_CREATE_DERIVATIVE_BIT flag, and the
pname:basePipelineIndex member of that same element is not `-1`,
pname:basePipelineIndex must: be less than the index into
pname:pCreateInfos that corresponds to that element
* [[VUID-{refpage}-flags-03416]]
If the pname:flags member of any element of pname:pCreateInfos contains
the ename:VK_PIPELINE_CREATE_DERIVATIVE_BIT flag, the base pipeline
must: have been created with the
ename:VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT flag set
ifdef::VK_VERSION_1_1,VK_KHR_device_group[]
* [[VUID-{refpage}-flags-03816]]
pname:flags must: not contain the ename:VK_PIPELINE_CREATE_DISPATCH_BASE
flag
endif::VK_VERSION_1_1,VK_KHR_device_group[]
ifdef::VK_EXT_pipeline_creation_cache_control[]
* [[VUID-{refpage}-pipelineCache-02903]]
If pname:pipelineCache was created with
ename:VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT, host
access to pname:pipelineCache must: be
<<fundamentals-threadingbehavior,externally synchronized>>
endif::VK_EXT_pipeline_creation_cache_control[]
// Common Valid Usage