From ae91a11a63772bc5b0e7a10a94130b6325a9d63e Mon Sep 17 00:00:00 2001 From: aardgoose Date: Wed, 6 Nov 2024 11:33:03 +0000 Subject: [PATCH] remove debugging code --- src/renderers/common/Bindings.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/renderers/common/Bindings.js b/src/renderers/common/Bindings.js index 2e7992156ebc25..262988bba5bafa 100644 --- a/src/renderers/common/Bindings.js +++ b/src/renderers/common/Bindings.js @@ -157,18 +157,6 @@ class Bindings extends DataMap { } - const textureData = backend.get( texture ); - - if ( backend.isWebGPUBackend === true && textureData.texture === undefined && textureData.externalTexture === undefined ) { - - // TODO: Remove this once we found why updated === false isn't bound to a texture in the WebGPU backend - console.error( 'Bindings._update: binding should be available:', binding, updated, texture, binding.textureNode.value, needsBindingsUpdate ); - - this.textures.updateTexture( texture ); - needsBindingsUpdate = true; - - } - if ( texture.isStorageTexture === true ) { const textureData = this.get( texture );