// Copyright 2022 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/
[
Exposed=(Window, Worker),
SecureContext
] interface GPUAdapterInfo {
[HighEntropy] readonly attribute DOMString vendor;
[HighEntropy] readonly attribute DOMString architecture;
[HighEntropy] readonly attribute DOMString device;
[HighEntropy] readonly attribute DOMString description;
[RuntimeEnabled=WebGPUDeveloperFeatures] readonly attribute DOMString driver;
[RuntimeEnabled=WebGPUDeveloperFeatures] readonly attribute DOMString backend;
[RuntimeEnabled=WebGPUDeveloperFeatures] readonly attribute DOMString type;
[RuntimeEnabled=WebGPUDeveloperFeatures] readonly attribute FrozenArray<GPUMemoryHeapInfo> memoryHeaps;
[RuntimeEnabled=WebGPUDeveloperFeatures] readonly attribute unsigned long? d3dShaderModel;
[RuntimeEnabled=WebGPUDeveloperFeatures] readonly attribute unsigned long? vkDriverVersion;
};