From 3df50b769f0a8a9874dbc3b9d1176a9156a82fac Mon Sep 17 00:00:00 2001 From: Renaud Rohlinger Date: Wed, 4 Dec 2024 15:55:39 +0900 Subject: [PATCH] WebGPUBackend: Revert onSubmittedWorkDone usage in timestamp queries (#30031) --- src/renderers/webgpu/WebGPUBackend.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/renderers/webgpu/WebGPUBackend.js b/src/renderers/webgpu/WebGPUBackend.js index b35cbd7eefd315..211ade93c36aea 100644 --- a/src/renderers/webgpu/WebGPUBackend.js +++ b/src/renderers/webgpu/WebGPUBackend.js @@ -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( () => {