Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
axinging committed Dec 19, 2023
1 parent 07784e1 commit bf89981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/web/lib/wasm/jsep/webgpu/ops/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit bf89981

Please sign in to comment.