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
12 changes: 10 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ type GPUBindingResource =

| GPUSampler
| GPUTextureView
| GPUBuffer
| GPUBufferBinding
| GPUExternalTexture;
type GPUBufferDynamicOffset =
Expand Down Expand Up @@ -262,6 +263,7 @@ type GPUErrorFilter =
| "internal";
type GPUFeatureName =

| "core-features-and-limits"
| "depth-clip-control"
| "depth32float-stencil8"
| "texture-compression-bc"
Expand All @@ -279,7 +281,7 @@ type GPUFeatureName =
| "clip-distances"
| "dual-source-blending"
| "subgroups"
| "core-features-and-limits";
| "texture-formats-tier1";
type GPUFilterMode =

| "nearest"
Expand Down Expand Up @@ -359,6 +361,8 @@ type GPUTextureFormat =
| "r8snorm"
| "r8uint"
| "r8sint"
| "r16unorm"
| "r16snorm"
| "r16uint"
| "r16sint"
| "r16float"
Expand All @@ -369,6 +373,8 @@ type GPUTextureFormat =
| "r32uint"
| "r32sint"
| "r32float"
| "rg16unorm"
| "rg16snorm"
| "rg16uint"
| "rg16sint"
| "rg16float"
Expand All @@ -386,6 +392,8 @@ type GPUTextureFormat =
| "rg32uint"
| "rg32sint"
| "rg32float"
| "rgba16unorm"
| "rgba16snorm"
| "rgba16uint"
| "rgba16sint"
| "rgba16float"
Expand Down Expand Up @@ -535,7 +543,7 @@ interface GPUBindGroupEntry {
binding: GPUIndex32;
/**
* The resource to bind, which may be a {@link GPUSampler}, {@link GPUTextureView},
* {@link GPUExternalTexture}, or {@link GPUBufferBinding}.
* {@link GPUBuffer}, {@link GPUBufferBinding}, or {@link GPUExternalTexture}.
*/
resource: GPUBindingResource;
}
Expand Down
13 changes: 11 additions & 2 deletions generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ type GPUBindingResource =

| GPUSampler
| GPUTextureView
| GPUBuffer
| GPUBufferBinding
| GPUExternalTexture;
type GPUBufferDynamicOffset =
Expand Down Expand Up @@ -149,6 +150,7 @@ type GPUErrorFilter =
| "internal";
type GPUFeatureName =

| "core-features-and-limits"
| "depth-clip-control"
| "depth32float-stencil8"
| "texture-compression-bc"
Expand All @@ -165,7 +167,8 @@ type GPUFeatureName =
| "float32-blendable"
| "clip-distances"
| "dual-source-blending"
| "subgroups";
| "subgroups"
| "texture-formats-tier1";
type GPUFilterMode =

| "nearest"
Expand Down Expand Up @@ -245,6 +248,8 @@ type GPUTextureFormat =
| "r8snorm"
| "r8uint"
| "r8sint"
| "r16unorm"
| "r16snorm"
| "r16uint"
| "r16sint"
| "r16float"
Expand All @@ -255,6 +260,8 @@ type GPUTextureFormat =
| "r32uint"
| "r32sint"
| "r32float"
| "rg16unorm"
| "rg16snorm"
| "rg16uint"
| "rg16sint"
| "rg16float"
Expand All @@ -272,6 +279,8 @@ type GPUTextureFormat =
| "rg32uint"
| "rg32sint"
| "rg32float"
| "rgba16unorm"
| "rgba16snorm"
| "rgba16uint"
| "rgba16sint"
| "rgba16float"
Expand Down Expand Up @@ -421,7 +430,7 @@ interface GPUBindGroupEntry {
binding: GPUIndex32;
/**
* The resource to bind, which may be a {@link GPUSampler}, {@link GPUTextureView},
* {@link GPUExternalTexture}, or {@link GPUBufferBinding}.
* {@link GPUBuffer}, {@link GPUBufferBinding}, or {@link GPUExternalTexture}.
*/
resource: GPUBindingResource;
}
Expand Down
Loading