Skip to content

Commit 13dda25

Browse files
crowlKatslittledivy
authored andcommitted
fix(webgpu): specify viewFormats in surface configuration (#17626)
1 parent 3540534 commit 13dda25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/webgpu/src/03_surface.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
surfaceRid: this[_surfaceRid],
5959
deviceRid: device.rid,
6060
format: configuration.format,
61+
viewFormats: configuration.viewFormats,
6162
usage: configuration.usage,
6263
width: configuration.width,
6364
height: configuration.height,

0 commit comments

Comments
 (0)