Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -1007,6 +1011,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -15449,6 +15463,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -473,6 +477,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -4891,6 +4905,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -417,6 +421,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -4574,6 +4588,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -1004,6 +1008,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -15435,6 +15449,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/ts5.5/serviceworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -470,6 +474,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -4888,6 +4902,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/ts5.5/sharedworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -414,6 +418,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -4571,6 +4585,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/ts5.5/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -561,6 +565,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -5591,6 +5605,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
26 changes: 26 additions & 0 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
mipmapFilter?: GPUMipmapFilterMode;
}

interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
code: string;
}

interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
buffer: GPUBuffer;
}
Expand All @@ -1004,6 +1008,16 @@ interface GPUTexelCopyTextureInfo {
texture: GPUTexture;
}

interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
dimension?: GPUTextureDimension;
format: GPUTextureFormat;
mipLevelCount?: GPUIntegerCoordinate;
sampleCount?: GPUSize32;
size: GPUExtent3D;
usage: GPUTextureUsageFlags;
viewFormats?: GPUTextureFormat[];
}

interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
arrayLayerCount?: GPUIntegerCoordinate;
aspect?: GPUTextureAspect;
Expand Down Expand Up @@ -15446,6 +15460,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
*/
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
/**
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
*/
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
/**
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
*/
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
/**
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
*
Expand Down
Loading