Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/webgpu/shader/execution/expression/expression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export async function run(
};
const checkBatch = await submitBatch(t, shaderBuilder, shaderBuilderParams, pipelineCache);
checkBatch();
void t.queue.onSubmittedWorkDone().finally(batchFinishedCallback);
void t.queue.onSubmittedWorkDone();
};

const pendingBatches = [];
Expand All @@ -430,7 +430,7 @@ export async function run(
}
batchesInFlight += 1;

pendingBatches.push(processBatch(batchCases));
pendingBatches.push(processBatch(batchCases).finally(batchFinishedCallback));
}

await Promise.all(pendingBatches);
Expand Down