Vulkan-Docs/chapters/VK_EXT_validation_flags.txt
Jon Leech 9a8314cd41 Restructure the repository to put the specification Makefile and
associated material at the top level, vk.xml and associated material in
xml/, and generated include and source files in include/vulkan/ and
src/ext_loader/, respectively (public issue 436).
2018-04-04 23:08:43 -07:00

36 lines
1.3 KiB
Plaintext

[open,refpage='VkValidationFlagsEXT',desc='Specify validation checks to disable for a Vulkan instance',type='structs']
--
When creating a Vulkan instance for which you wish to disable validation
checks, add a slink:VkValidationFlagsEXT structure to the pname:pNext chain
of the slink:VkInstanceCreateInfo structure, specifying the checks to be
disabled.
include::../api/structs/VkValidationFlagsEXT.txt[]
* pname:sType is the type of this structure.
* pname:pNext is `NULL` or a pointer to an extension-specific structure.
* pname:disabledValidationCheckCount is the number of checks to disable.
* pname:pDisabledValidationChecks is a pointer to an array of
elink:VkValidationCheckEXT values specifying the validation checks to be
disabled.
include::../validity/structs/VkValidationFlagsEXT.txt[]
--
[open,refpage='VkValidationCheckEXT',desc='Specify validation checks to disable',type='enums']
--
Possible values of elements of the
slink:VkValidationFlagsEXT::pname:pDisabledValidationChecks array,
specifying validation checks to be disabled, are:
include::../api/enums/VkValidationCheckEXT.txt[]
* ename:VK_VALIDATION_CHECK_ALL_EXT specifies that all validation checks
are disabled.
* ename:VK_VALIDATION_CHECK_SHADERS_EXT specifies that shader validation
is disabled.
--