WebGPU module

webgpu_pop_error_scope

procedure · 1 overloadSource

Pop the device's innermost error scope (wgpuDevicePushErrorScope) and wait for it: the type of the first error it caught (.NoError for none), and its message (temporary storage).

webgpu_pop_error_scope :: (
    instance: WGPUInstance,
    device: WGPUDevice
) -> (WGPUErrorType, message: string)

Pop the device's innermost error scope (wgpuDevicePushErrorScope) and wait for it: the type of the first error it caught (.NoError for none), and its message (temporary storage).

Parameters

instance: WGPUInstance
device: WGPUDevice

Returns

WGPUErrorType
message: string

See also