Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 9, 2024
1 parent 4bb10a0 commit 3189325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binding-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export function wrapBindingCommandsMixin<T extends BindingMixin>(
const dynamicOffsetCount = bindGroup
? s_bindGroupToInfo.get(bindGroup)!.layoutPlus.dynamicOffsetCount
: 0;
dynamicOffsetsArg = new Uint32Array(dynamicOffsetsArg || 0);
dynamicOffsetsArg = dynamicOffsetsArg ? new Uint32Array(dynamicOffsetsArg) : new Uint32Array(0);
dynamicOffsetDataStart = dynamicOffsetDataStart ?? 0;
dynamicOffsetDataLength = dynamicOffsetDataLength ?? dynamicOffsetsArg.length;
const dynamicOffsets = dynamicOffsetsArg.slice(dynamicOffsetDataStart, dynamicOffsetDataLength);
Expand Down

0 comments on commit 3189325

Please sign in to comment.