From 1770fd2aedc165820e2978f4e52e9079c5f0343a Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Fri, 30 Jan 2026 21:27:04 +0100 Subject: [PATCH] Add GPUAdapterInfo --- baselines/dom.generated.d.ts | 56 ++++++++++++++++++++ baselines/serviceworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/sharedworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.5/dom.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.5/serviceworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.5/sharedworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.5/webworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.6/dom.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.6/serviceworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.6/sharedworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.6/webworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.9/dom.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.9/serviceworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.9/sharedworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/ts5.9/webworker.generated.d.ts | 56 ++++++++++++++++++++ baselines/webworker.generated.d.ts | 56 ++++++++++++++++++++ inputfiles/overridingTypes.jsonc | 3 -- 17 files changed, 896 insertions(+), 3 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 306ff0962..2ad3ddb2d 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -14764,6 +14764,62 @@ declare var FragmentDirective: { new(): FragmentDirective; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index 9f262ca0b..d20ab5383 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -4207,6 +4207,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index 011328065..7b86ffe1a 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -3890,6 +3890,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index ec54541bc..dd26ea669 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -14750,6 +14750,62 @@ declare var FragmentDirective: { new(): FragmentDirective; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index 46bcfbf8a..882daeb07 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -4204,6 +4204,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index b4eacc9fb..55c2f2377 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -3887,6 +3887,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index 954f3a533..848bf7b7f 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -4906,6 +4906,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index c7e427cb2..66412f0b2 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -14761,6 +14761,62 @@ declare var FragmentDirective: { new(): FragmentDirective; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index 46bcfbf8a..882daeb07 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -4204,6 +4204,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index b4eacc9fb..55c2f2377 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -3887,6 +3887,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index 954f3a533..848bf7b7f 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -4906,6 +4906,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index 1e2b7650b..26c662dc0 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -14761,6 +14761,62 @@ declare var FragmentDirective: { new(): FragmentDirective; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.9/serviceworker.generated.d.ts b/baselines/ts5.9/serviceworker.generated.d.ts index b19004a36..85eed0ceb 100644 --- a/baselines/ts5.9/serviceworker.generated.d.ts +++ b/baselines/ts5.9/serviceworker.generated.d.ts @@ -4204,6 +4204,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.9/sharedworker.generated.d.ts b/baselines/ts5.9/sharedworker.generated.d.ts index d40d1ceb5..8fdabbc82 100644 --- a/baselines/ts5.9/sharedworker.generated.d.ts +++ b/baselines/ts5.9/sharedworker.generated.d.ts @@ -3887,6 +3887,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/ts5.9/webworker.generated.d.ts b/baselines/ts5.9/webworker.generated.d.ts index bad45903d..3d34450d6 100644 --- a/baselines/ts5.9/webworker.generated.d.ts +++ b/baselines/ts5.9/webworker.generated.d.ts @@ -4906,6 +4906,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index d4bd76698..d14a6131d 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -4909,6 +4909,62 @@ declare var FormData: { new(): FormData; }; +/** + * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo) + */ +interface GPUAdapterInfo { + /** + * The **`architecture`** read-only property of the GPUAdapterInfo interface returns the name of the family or class of GPUs the adapter belongs to, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) + */ + readonly architecture: string; + /** + * The **`description`** read-only property of the GPUAdapterInfo interface returns a human-readable string describing the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) + */ + readonly description: string; + /** + * The **`device`** read-only property of the GPUAdapterInfo interface returns a vendor-specific identifier for the adapter, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) + */ + readonly device: string; + /** + * The **`isFallbackAdapter`** read-only property of the GPUAdapterInfo interface returns true if the adapter is a fallback adapter, and false if not. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/isFallbackAdapter) + */ + readonly isFallbackAdapter: boolean; + /** + * The **`subgroupMaxSize`** read-only property of the GPUAdapterInfo interface returns the maximum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMaxSize) + */ + readonly subgroupMaxSize: number; + /** + * The **`subgroupMinSize`** read-only property of the GPUAdapterInfo interface returns the minimum supported subgroup size for the GPUAdapter. This can be used along with the subgroups feature. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/subgroupMinSize) + */ + readonly subgroupMinSize: number; + /** + * The **`vendor`** read-only property of the GPUAdapterInfo interface returns the name of the adapter vendor, or an empty string if it is not available. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) + */ + readonly vendor: string; +} + +declare var GPUAdapterInfo: { + prototype: GPUAdapterInfo; + new(): GPUAdapterInfo; +}; + /** * The **`GPUBindGroup`** interface of the WebGPU API is based on a GPUBindGroupLayout and defines a set of resources to be bound together in a group and how those resources are used in shader stages. * Available only in secure contexts. diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index c8879384f..ca10adb50 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -2877,9 +2877,6 @@ "GPUAdapter": { "exposed": "" }, - "GPUAdapterInfo": { - "exposed": "" - }, "GPUCanvasContext": { "exposed": "" },