Skip to content

Device-lost crash-logging #65

@Try

Description

@Try

Vulkan
VK_EXT_device_fault

Metal:
https://developer.apple.com/documentation/metal/mtlcommandbuffer/1443040-error?language=objc

_MTL_ENUM(NS::UInteger, CommandBufferError) {
    CommandBufferErrorNone = 0,
    CommandBufferErrorInternal = 1,
    CommandBufferErrorTimeout = 2,
    CommandBufferErrorPageFault = 3,
    CommandBufferErrorBlacklisted = 4,
    CommandBufferErrorAccessRevoked = 4,
    CommandBufferErrorNotPermitted = 7,
    CommandBufferErrorOutOfMemory = 8,
    CommandBufferErrorInvalidResource = 9,
    CommandBufferErrorMemoryless = 10,
    CommandBufferErrorDeviceRemoved = 11,
    CommandBufferErrorStackOverflow = 12,
};
// Settings that determine which information the command buffer records about execution errors, and how it does it.
MTL::CommandBufferErrorOption MTL::CommandBuffer::errorOptions();

// A description of an error when the GPU encounters an issue as it runs the command buffer
NS::Error* MTL::CommandBuffer::error() const;

DirectX12:
https://microsoft.github.io/DirectX-Specs/d3d/DeviceRemovedExtendedData.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions