Vulkan-Docs/doc/specs/vulkan/chapters/VK_EXT_validation_flags.txt

33 lines
1.2 KiB
Plaintext

// refBegin VkValidationFlagsEXT Specify validation checks to disable for a Vulkan instance
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[]
// refBegin VkValidationCheckEXT Specify validation checks to disable
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.
// refEnd VkValidationCheckEXT