1// Copyright (c) 2019-2020 Advanced Micro Devices, Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5// This section is included inside the Pipelines chapter (pipelines.adoc) 6 7[[pipelines-compiler-control]] 8== Pipeline Compiler Control 9 10[open,refpage='VkPipelineCompilerControlCreateInfoAMD',desc='Structure used to pass compilation control flags to a pipeline',type='structs'] 11-- 12The compilation of a pipeline can: be tuned by adding a 13sname:VkPipelineCompilerControlCreateInfoAMD structure to the pname:pNext 14chain of slink:VkGraphicsPipelineCreateInfo or 15slink:VkComputePipelineCreateInfo. 16 17include::{generated}/api/structs/VkPipelineCompilerControlCreateInfoAMD.adoc[] 18 19 * pname:sType is the type of this structure. 20 * pname:pNext is `NULL` or a pointer to a structure extending this 21 structure. 22 * pname:compilerControlFlags is a bitmask of 23 elink:VkPipelineCompilerControlFlagBitsAMD affecting how the pipeline 24 will be compiled. 25 26include::{generated}/validity/structs/VkPipelineCompilerControlCreateInfoAMD.adoc[] 27-- 28 29[open,refpage='VkPipelineCompilerControlFlagBitsAMD',desc='Enum specifying available compilation control flags',type='enums'] 30-- 31There are currently no available flags for this extension; flags will be 32added by future versions of this extension. 33 34include::{generated}/api/enums/VkPipelineCompilerControlFlagBitsAMD.adoc[] 35-- 36 37[open,refpage='VkPipelineCompilerControlFlagsAMD',desc='Bitmask of VkPipelineCompilerControlFlagBitsAMD',type='flags'] 38-- 39include::{generated}/api/flags/VkPipelineCompilerControlFlagsAMD.adoc[] 40 41tname:VkPipelineCompilerControlFlagsAMD is a bitmask type for setting a mask 42of zero or more elink:VkPipelineCompilerControlFlagBitsAMD. 43-- 44