Browse Source

WebGPUBackend: Fix `copyFramebufferToTexture`() generated mipmaps twice

sunag 1 year ago
parent
commit
36ea6dbc72
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/renderers/webgpu/WebGPUBackend.js

+ 0 - 2
src/renderers/webgpu/WebGPUBackend.js

@@ -2356,8 +2356,6 @@ class WebGPUBackend extends Backend {
 			]
 			]
 		);
 		);
 
 
-		if ( texture.generateMipmaps ) this.textureUtils.generateMipmaps( texture );
-
 		if ( renderContextData.currentPass ) {
 		if ( renderContextData.currentPass ) {
 
 
 			const { descriptor } = renderContextData;
 			const { descriptor } = renderContextData;

粤ICP备19079148号