C Specification

The information on a single fault is returned using the VkFaultData structure. The VkFaultData structure is defined as:

// Provided by VKSC_VERSION_1_0
typedef struct VkFaultData {
    VkStructureType    sType;
    void*              pNext;
    VkFaultLevel       faultLevel;
    VkFaultType        faultType;
} VkFaultData;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure that provides implementation-specific data on the fault.

  • faultLevel is a VkFaultLevel that provides the severity of the fault.

  • faultType is a VkFaultType that provides the type of the fault.

Description

To retrieve implementation-specific fault data, pNext can point to one or more implementation-defined fault structures or NULL to not retrieve implementation-specific data.

Valid Usage
  • VUID-VkFaultData-pNext-05019
    pNext must be NULL or a valid pointer to an implementation-specific structure

Valid Usage (Implicit)
  • VUID-VkFaultData-sType-sType
    sType must be VK_STRUCTURE_TYPE_FAULT_DATA

See Also

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0