• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2019-2024 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5// Common Valid Usage
6// common to VkRayTracingPipelineCreateInfo* structures
7  * [[VUID-{refpage}-pStages-03426]]
8    The shader code for the entry points identified by pname:pStages, and
9    the rest of the state identified by this structure must: adhere to the
10    pipeline linking rules described in the <<interfaces,Shader Interfaces>>
11    chapter
12  * [[VUID-{refpage}-layout-03428]]
13    The number of resources in pname:layout accessible to each shader stage
14    that is used by the pipeline must: be less than or equal to
15    slink:VkPhysicalDeviceLimits::pname:maxPerStageResources
16ifdef::VK_NV_device_generated_commands[]
17  * [[VUID-{refpage}-flags-02904]]
18    pname:flags must: not include
19    ename:VK_PIPELINE_CREATE_INDIRECT_BINDABLE_BIT_NV
20endif::VK_NV_device_generated_commands[]
21ifdef::VK_VERSION_1_3,VK_EXT_pipeline_creation_cache_control[]
22  * [[VUID-{refpage}-pipelineCreationCacheControl-02905]]
23    If the <<features-pipelineCreationCacheControl,
24    pname:pipelineCreationCacheControl>> feature is not enabled, pname:flags
25    must: not include
26    ename:VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT or
27    ename:VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT
28endif::VK_VERSION_1_3,VK_EXT_pipeline_creation_cache_control[]
29// Common Valid Usage
30