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