Skip to content

Commit

Permalink
WebGPUBackend: Revert onSubmittedWorkDone usage in timestamp queries (m…
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudRohlinger authored Dec 4, 2024
1 parent ad0ff80 commit 3df50b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/renderers/webgpu/WebGPUBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,6 @@ class WebGPUBackend extends Backend {

const { resultBuffer } = renderContextData.currentTimestampQueryBuffers;

await this.device.queue.onSubmittedWorkDone();

if ( resultBuffer.mapState === 'unmapped' ) {

resultBuffer.mapAsync( GPUMapMode.READ ).then( () => {
Expand Down

0 comments on commit 3df50b7

Please sign in to comment.