Skip to content

Commit fde434c

Browse files
committed
WebGLTestureUtils: Clean up.
1 parent 9e136bb commit fde434c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

examples/jsm/renderers/webgpu/WebGPUTextureUtils.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,10 @@ class WebGPUTextureUtils {
9292

9393
generateMipmappedTexture( imageBitmap, textureGPU, textureGPUDescriptor ) {
9494

95-
// mipmaps have to computed manually right now, see https://github.com/gpuweb/gpuweb/issues/386
96-
9795
const pipeline = this.getMipmapPipeline( textureGPUDescriptor.format );
9896

9997
const commandEncoder = this.device.createCommandEncoder( {} );
100-
// @TODO: Consider making this static.
101-
const bindGroupLayout = pipeline.getBindGroupLayout( 0 );
98+
const bindGroupLayout = pipeline.getBindGroupLayout( 0 ); // @TODO: Consider making this static.
10299

103100
let srcView = textureGPU.createView( {
104101
baseMipLevel: 0,

0 commit comments

Comments
 (0)