/ chapters / VK_EXT_validation_flags.txt
VK_EXT_validation_flags.txt
 1  [open,refpage='VkValidationFlagsEXT',desc='Specify validation checks to disable for a Vulkan instance',type='structs']
 2  --
 3  
 4  When creating a Vulkan instance for which you wish to disable validation
 5  checks, add a slink:VkValidationFlagsEXT structure to the pname:pNext chain
 6  of the slink:VkInstanceCreateInfo structure, specifying the checks to be
 7  disabled.
 8  
 9  include::{generated}/api/structs/VkValidationFlagsEXT.txt[]
10  
11    * pname:sType is the type of this structure.
12    * pname:pNext is `NULL` or a pointer to an extension-specific structure.
13    * pname:disabledValidationCheckCount is the number of checks to disable.
14    * pname:pDisabledValidationChecks is a pointer to an array of
15      elink:VkValidationCheckEXT values specifying the validation checks to be
16      disabled.
17  
18  include::{generated}/validity/structs/VkValidationFlagsEXT.txt[]
19  --
20  
21  [open,refpage='VkValidationCheckEXT',desc='Specify validation checks to disable',type='enums']
22  --
23  
24  Possible values of elements of the
25  slink:VkValidationFlagsEXT::pname:pDisabledValidationChecks array,
26  specifying validation checks to be disabled, are:
27  
28  include::{generated}/api/enums/VkValidationCheckEXT.txt[]
29  
30    * ename:VK_VALIDATION_CHECK_ALL_EXT specifies that all validation checks
31      are disabled.
32    * ename:VK_VALIDATION_CHECK_SHADERS_EXT specifies that shader validation
33      is disabled.
34  
35  --