blob: 72a78bbf2cb0dafc708148da4ee12dae135790a1 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://gpuweb.github.io/gpuweb/
enum GPUCompilationMessageType {
"error",
"warning",
"info"
};
[
Exposed(Window WebGPU, DedicatedWorker WebGPU),
SecureContext
] interface GPUCompilationMessage {
readonly attribute DOMString message;
readonly attribute GPUCompilationMessageType type;
readonly attribute unsigned long long lineNum;
readonly attribute unsigned long long linePos;
readonly attribute unsigned long long offset;
readonly attribute unsigned long long length;
};