From c0e9512b39a4ed3713d1fd9b28469d0edf68f578 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Tue, 6 Aug 2024 03:00:32 -0700 Subject: BREAKING(webgpu/unstable): Replace async .requestAdapterInfo() with sync .info (#24783) Closes https://github.com/denoland/deno/issues/24779 Ref https://github.com/gpuweb/gpuweb/pull/4662 --- cli/tsc/dts/lib.deno_webgpu.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tsc/dts/lib.deno_webgpu.d.ts') diff --git a/cli/tsc/dts/lib.deno_webgpu.d.ts b/cli/tsc/dts/lib.deno_webgpu.d.ts index 12ef5e6c5..944af0e4c 100644 --- a/cli/tsc/dts/lib.deno_webgpu.d.ts +++ b/cli/tsc/dts/lib.deno_webgpu.d.ts @@ -123,10 +123,10 @@ declare type GPUPowerPreference = "low-power" | "high-performance"; declare class GPUAdapter { readonly features: GPUSupportedFeatures; readonly limits: GPUSupportedLimits; + readonly info: GPUAdapterInfo; readonly isFallbackAdapter: boolean; requestDevice(descriptor?: GPUDeviceDescriptor): Promise; - requestAdapterInfo(): Promise; } /** -- cgit v1.2.3