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

24 lines
998 B
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 values
specifying the validation checks to be disabled.
Checks which may: be specified include:
+
--
// refBegin VkValidationCheckEXT Specify validation checks to disable
include::../api/enums/VkValidationCheckEXT.txt[]
--
** ename:VK_VALIDATION_CHECK_ALL_EXT disables all validation checks.
include::../validity/structs/VkValidationFlagsEXT.txt[]