From 643a4ab94f1e416e652a237027797ff150addd5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Beaufort?= Date: Mon, 26 May 2025 10:20:36 +0200 Subject: [PATCH] Roll gpuweb --- dist/index.d.ts | 12 ++++++++++-- generated/index.d.ts | 13 +++++++++++-- gpuweb | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index d9a2dfb8..c4eaca33 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -115,6 +115,7 @@ type GPUBindingResource = | GPUSampler | GPUTextureView + | GPUBuffer | GPUBufferBinding | GPUExternalTexture; type GPUBufferDynamicOffset = @@ -262,6 +263,7 @@ type GPUErrorFilter = | "internal"; type GPUFeatureName = + | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "texture-compression-bc" @@ -279,7 +281,7 @@ type GPUFeatureName = | "clip-distances" | "dual-source-blending" | "subgroups" - | "core-features-and-limits"; + | "texture-formats-tier1"; type GPUFilterMode = | "nearest" @@ -359,6 +361,8 @@ type GPUTextureFormat = | "r8snorm" | "r8uint" | "r8sint" + | "r16unorm" + | "r16snorm" | "r16uint" | "r16sint" | "r16float" @@ -369,6 +373,8 @@ type GPUTextureFormat = | "r32uint" | "r32sint" | "r32float" + | "rg16unorm" + | "rg16snorm" | "rg16uint" | "rg16sint" | "rg16float" @@ -386,6 +392,8 @@ type GPUTextureFormat = | "rg32uint" | "rg32sint" | "rg32float" + | "rgba16unorm" + | "rgba16snorm" | "rgba16uint" | "rgba16sint" | "rgba16float" @@ -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; } diff --git a/generated/index.d.ts b/generated/index.d.ts index e83d8fb7..f4783514 100644 --- a/generated/index.d.ts +++ b/generated/index.d.ts @@ -2,6 +2,7 @@ type GPUBindingResource = | GPUSampler | GPUTextureView + | GPUBuffer | GPUBufferBinding | GPUExternalTexture; type GPUBufferDynamicOffset = @@ -149,6 +150,7 @@ type GPUErrorFilter = | "internal"; type GPUFeatureName = + | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "texture-compression-bc" @@ -165,7 +167,8 @@ type GPUFeatureName = | "float32-blendable" | "clip-distances" | "dual-source-blending" - | "subgroups"; + | "subgroups" + | "texture-formats-tier1"; type GPUFilterMode = | "nearest" @@ -245,6 +248,8 @@ type GPUTextureFormat = | "r8snorm" | "r8uint" | "r8sint" + | "r16unorm" + | "r16snorm" | "r16uint" | "r16sint" | "r16float" @@ -255,6 +260,8 @@ type GPUTextureFormat = | "r32uint" | "r32sint" | "r32float" + | "rg16unorm" + | "rg16snorm" | "rg16uint" | "rg16sint" | "rg16float" @@ -272,6 +279,8 @@ type GPUTextureFormat = | "rg32uint" | "rg32sint" | "rg32float" + | "rgba16unorm" + | "rgba16snorm" | "rgba16uint" | "rgba16sint" | "rgba16float" @@ -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; } diff --git a/gpuweb b/gpuweb index a9eee1b4..137f7e38 160000 --- a/gpuweb +++ b/gpuweb @@ -1 +1 @@ -Subproject commit a9eee1b45c939a48cb6b7fc28ee1394644349391 +Subproject commit 137f7e38c7f79d2bc5e0bf8c7053c58055170c93