From bf899813e5b43ccbe8c94ad6589a80afa9d0a830 Mon Sep 17 00:00:00 2001 From: Xu Xing Date: Tue, 19 Dec 2023 16:04:57 +0800 Subject: [PATCH] Nit --- js/web/lib/wasm/jsep/webgpu/ops/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/web/lib/wasm/jsep/webgpu/ops/common.ts b/js/web/lib/wasm/jsep/webgpu/ops/common.ts index 375a18d4b832e..5fffa2f266603 100644 --- a/js/web/lib/wasm/jsep/webgpu/ops/common.ts +++ b/js/web/lib/wasm/jsep/webgpu/ops/common.ts @@ -213,7 +213,7 @@ export interface IndicesHelper { readonly strides: string; } -export const getWgslMappedType = (type: number, components: 1|2|3|4): string|[string, string] => { +const getWgslMappedType = (type: number, components: 1|2|3|4): string|[string, string] => { if (components === 3) { throw new Error('vec3 has same alignment as vec4, use vec4 instead'); }