• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[open,refpage='VkValidationFlagsEXT',desc='Specify validation checks to disable for a Vulkan instance',type='structs']
2--
3
4When creating a Vulkan instance for which you wish to disable validation
5checks, add a slink:VkValidationFlagsEXT structure to the pname:pNext chain
6of the slink:VkInstanceCreateInfo structure, specifying the checks to be
7disabled.
8
9include::../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
18include::../validity/structs/VkValidationFlagsEXT.txt[]
19--
20
21[open,refpage='VkValidationCheckEXT',desc='Specify validation checks to disable',type='enums']
22--
23
24Possible values of elements of the
25slink:VkValidationFlagsEXT::pname:pDisabledValidationChecks array,
26specifying validation checks to be disabled, are:
27
28include::../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--
36