From da082e482dce6a299639c49972204e8d5265a1c2 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Sat, 14 Dec 2024 11:16:21 +0100 Subject: [PATCH] =?UTF-8?q?fix(=F0=9F=92=84):=20fix=20typo=20in=20bgra8uno?= =?UTF-8?q?rm-storage=20feature=20request?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tfjs-backend-webgpu/src/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfjs-backend-webgpu/src/base.ts b/tfjs-backend-webgpu/src/base.ts index cf3ac665e2..7d67d9b6f4 100644 --- a/tfjs-backend-webgpu/src/base.ts +++ b/tfjs-backend-webgpu/src/base.ts @@ -38,7 +38,7 @@ if (isWebGPUSupported()) { requiredFeatures.push('timestamp-query'); } if (adapter.features.has('bgra8unorm-storage')) { - requiredFeatures.push(['bgra8unorm-storage']); + requiredFeatures.push('bgra8unorm-storage'); } deviceDescriptor.requiredFeatures = requiredFeatures as Iterable;