diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-02-02 23:34:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-02 23:34:31 +0100 |
commit | 1876577d6458f456e65c69548d6b8c3164d4b816 (patch) | |
tree | f686e0b88ad6d1a552c3779bd56e43d738b1bc54 /ext/webgpu/src/03_surface.js | |
parent | 65755a115a7af452d3ab1934fbc81cd8ff10d67f (diff) |
fix(webgpu): specify viewFormats in surface configuration (#17626)
Diffstat (limited to 'ext/webgpu/src/03_surface.js')
-rw-r--r-- | ext/webgpu/src/03_surface.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/webgpu/src/03_surface.js b/ext/webgpu/src/03_surface.js index 0152098ea..f9e422e82 100644 --- a/ext/webgpu/src/03_surface.js +++ b/ext/webgpu/src/03_surface.js @@ -58,6 +58,7 @@ surfaceRid: this[_surfaceRid], deviceRid: device.rid, format: configuration.format, + viewFormats: configuration.viewFormats, usage: configuration.usage, width: configuration.width, height: configuration.height, |