Skip to content

Commit

Permalink
Update gpuweb: adds just "rgb10a2uint"
Browse files Browse the repository at this point in the history
  • Loading branch information
Kangz authored and toji committed Sep 26, 2023
1 parent ca1a548 commit 7535ef5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ type GPUTextureFormat =
| "bgra8unorm"
| "bgra8unorm-srgb"
| "rgb9e5ufloat"
| "rgb10a2uint"
| "rgb10a2unorm"
| "rg11b10ufloat"
| "rg32uint"
Expand Down
7 changes: 5 additions & 2 deletions generated/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ type GPUFlagsConstant =
type GPUImageCopyExternalImageSource =

| ImageBitmap
| ImageData
| HTMLImageElement
| HTMLVideoElement
| VideoFrame
| HTMLCanvasElement
Expand Down Expand Up @@ -247,6 +249,7 @@ type GPUTextureFormat =
| "bgra8unorm"
| "bgra8unorm-srgb"
| "rgb9e5ufloat"
| "rgb10a2uint"
| "rgb10a2unorm"
| "rg11b10ufloat"
| "rg32uint"
Expand Down Expand Up @@ -2594,7 +2597,7 @@ interface GPUQueue
writeBuffer(
buffer: GPUBuffer,
bufferOffset: GPUSize64,
data: BufferSource,
data: AllowSharedBufferSource,
dataOffset?: GPUSize64,
size?: GPUSize64
): undefined;
Expand All @@ -2607,7 +2610,7 @@ interface GPUQueue
*/
writeTexture(
destination: GPUImageCopyTexture,
data: BufferSource,
data: AllowSharedBufferSource,
dataLayout: GPUImageDataLayout,
size: GPUExtent3D
): undefined;
Expand Down
2 changes: 1 addition & 1 deletion gpuweb

0 comments on commit 7535ef5

Please sign in to comment.