Structures

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 VkValidationFlagsEXT structure to the pNext chain of the VkInstanceCreateInfo structure, specifying the checks to be disabled.

typedef struct VkValidationFlagsEXT {
    VkStructureType sType;
    const void* pNext;
    uint32_t disabledValidationCheckCount;
    const VkValidationCheckEXT* pDisabledValidationChecks;
} VkValidationFlagsEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • disabledValidationCheckCount is the number of checks to disable.
  • pDisabledValidationChecks is a pointer to an array of VkValidationCheckEXT values specifying the validation checks to be disabled.

Valid Usage (Implicit)

VUID-VkValidationFlagsEXT-sType-sType

sType must be VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT

VUID-VkValidationFlagsEXT-pDisabledValidationChecks-parameter

pDisabledValidationChecks must be a valid pointer to an array of disabledValidationCheckCount valid VkValidationCheckEXT values

VUID-VkValidationFlagsEXT-disabledValidationCheckCount-arraylength

disabledValidationCheckCount must be greater than 0