From 2066c76e047f54be995b698e0f38800c1139cb5d Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sat, 10 Jan 2026 20:23:04 +0100 Subject: [PATCH] Add GPUSupportedLimits --- baselines/dom.generated.d.ts | 76 ++++++++++++++++++++ baselines/serviceworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/sharedworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.5/dom.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.5/serviceworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.5/sharedworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.5/webworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.6/dom.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.6/serviceworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.6/sharedworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.6/webworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.9/dom.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.9/serviceworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.9/sharedworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/ts5.9/webworker.generated.d.ts | 76 ++++++++++++++++++++ baselines/webworker.generated.d.ts | 76 ++++++++++++++++++++ inputfiles/overridingTypes.jsonc | 3 - 17 files changed, 1216 insertions(+), 3 deletions(-) diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index d611e454b..2f4b821f0 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -14950,6 +14950,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/serviceworker.generated.d.ts b/baselines/serviceworker.generated.d.ts index aa8faf177..37c3487fb 100644 --- a/baselines/serviceworker.generated.d.ts +++ b/baselines/serviceworker.generated.d.ts @@ -4427,6 +4427,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/sharedworker.generated.d.ts b/baselines/sharedworker.generated.d.ts index ef6e33d80..950c57ec1 100644 --- a/baselines/sharedworker.generated.d.ts +++ b/baselines/sharedworker.generated.d.ts @@ -4110,6 +4110,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.5/dom.generated.d.ts b/baselines/ts5.5/dom.generated.d.ts index 0b7de9d77..36ece11a9 100644 --- a/baselines/ts5.5/dom.generated.d.ts +++ b/baselines/ts5.5/dom.generated.d.ts @@ -14936,6 +14936,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.5/serviceworker.generated.d.ts b/baselines/ts5.5/serviceworker.generated.d.ts index 4c6fca480..7d9ff23e1 100644 --- a/baselines/ts5.5/serviceworker.generated.d.ts +++ b/baselines/ts5.5/serviceworker.generated.d.ts @@ -4424,6 +4424,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.5/sharedworker.generated.d.ts b/baselines/ts5.5/sharedworker.generated.d.ts index 636e95ac2..47a1684e3 100644 --- a/baselines/ts5.5/sharedworker.generated.d.ts +++ b/baselines/ts5.5/sharedworker.generated.d.ts @@ -4107,6 +4107,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.5/webworker.generated.d.ts b/baselines/ts5.5/webworker.generated.d.ts index be37ed942..ad4a9e946 100644 --- a/baselines/ts5.5/webworker.generated.d.ts +++ b/baselines/ts5.5/webworker.generated.d.ts @@ -5126,6 +5126,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.6/dom.generated.d.ts b/baselines/ts5.6/dom.generated.d.ts index 2d0b44f82..3e3fcf36e 100644 --- a/baselines/ts5.6/dom.generated.d.ts +++ b/baselines/ts5.6/dom.generated.d.ts @@ -14947,6 +14947,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.6/serviceworker.generated.d.ts b/baselines/ts5.6/serviceworker.generated.d.ts index 4c6fca480..7d9ff23e1 100644 --- a/baselines/ts5.6/serviceworker.generated.d.ts +++ b/baselines/ts5.6/serviceworker.generated.d.ts @@ -4424,6 +4424,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.6/sharedworker.generated.d.ts b/baselines/ts5.6/sharedworker.generated.d.ts index 636e95ac2..47a1684e3 100644 --- a/baselines/ts5.6/sharedworker.generated.d.ts +++ b/baselines/ts5.6/sharedworker.generated.d.ts @@ -4107,6 +4107,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.6/webworker.generated.d.ts b/baselines/ts5.6/webworker.generated.d.ts index be37ed942..ad4a9e946 100644 --- a/baselines/ts5.6/webworker.generated.d.ts +++ b/baselines/ts5.6/webworker.generated.d.ts @@ -5126,6 +5126,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.9/dom.generated.d.ts b/baselines/ts5.9/dom.generated.d.ts index d79e0f974..da46d9ac4 100644 --- a/baselines/ts5.9/dom.generated.d.ts +++ b/baselines/ts5.9/dom.generated.d.ts @@ -14947,6 +14947,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.9/serviceworker.generated.d.ts b/baselines/ts5.9/serviceworker.generated.d.ts index 5ba67c80f..6dbe177f6 100644 --- a/baselines/ts5.9/serviceworker.generated.d.ts +++ b/baselines/ts5.9/serviceworker.generated.d.ts @@ -4424,6 +4424,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.9/sharedworker.generated.d.ts b/baselines/ts5.9/sharedworker.generated.d.ts index cd0325b4e..772989354 100644 --- a/baselines/ts5.9/sharedworker.generated.d.ts +++ b/baselines/ts5.9/sharedworker.generated.d.ts @@ -4107,6 +4107,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/ts5.9/webworker.generated.d.ts b/baselines/ts5.9/webworker.generated.d.ts index 0e0024865..60b3c526b 100644 --- a/baselines/ts5.9/webworker.generated.d.ts +++ b/baselines/ts5.9/webworker.generated.d.ts @@ -5126,6 +5126,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/baselines/webworker.generated.d.ts b/baselines/webworker.generated.d.ts index 050de5ea2..85660d62a 100644 --- a/baselines/webworker.generated.d.ts +++ b/baselines/webworker.generated.d.ts @@ -5129,6 +5129,82 @@ declare var GPUSupportedFeatures: { new(): GPUSupportedFeatures; }; +/** + * The **`GPUSupportedLimits`** interface of the WebGPU API describes the limits supported by a GPUAdapter. + * Available only in secure contexts. + * + * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits) + */ +interface GPUSupportedLimits { + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroups: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindGroupsPlusVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBindingsPerBindGroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxBufferSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachmentBytesPerSample: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxColorAttachments: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeInvocationsPerWorkgroup: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeX: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeY: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupSizeZ: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupStorageSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxComputeWorkgroupsPerDimension: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicStorageBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxDynamicUniformBuffersPerPipelineLayout: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxInterStageShaderVariables: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSampledTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxSamplersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxStorageTexturesPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureArrayLayers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension1D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension2D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxTextureDimension3D: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBufferBindingSize: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxUniformBuffersPerShaderStage: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexAttributes: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBufferArrayStride: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly maxVertexBuffers: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minStorageBufferOffsetAlignment: number; + /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */ + readonly minUniformBufferOffsetAlignment: number; +} + +declare var GPUSupportedLimits: { + prototype: GPUSupportedLimits; + new(): GPUSupportedLimits; +}; + /** * The **`GPUTextureView`** interface of the WebGPU API represents a view into a subset of the texture resources defined by a particular GPUTexture. * Available only in secure contexts. diff --git a/inputfiles/overridingTypes.jsonc b/inputfiles/overridingTypes.jsonc index 6f00f30ff..cc9eabbf5 100644 --- a/inputfiles/overridingTypes.jsonc +++ b/inputfiles/overridingTypes.jsonc @@ -3002,9 +3002,6 @@ "GPUShaderModule": { "exposed": "" }, - "GPUSupportedLimits": { - "exposed": "" - }, "GPUTexture": { "exposed": "" },