We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e136bb commit fde434cCopy full SHA for fde434c
examples/jsm/renderers/webgpu/WebGPUTextureUtils.js
@@ -92,13 +92,10 @@ class WebGPUTextureUtils {
92
93
generateMipmappedTexture( imageBitmap, textureGPU, textureGPUDescriptor ) {
94
95
- // mipmaps have to computed manually right now, see https://github.com/gpuweb/gpuweb/issues/386
96
-
97
const pipeline = this.getMipmapPipeline( textureGPUDescriptor.format );
98
99
const commandEncoder = this.device.createCommandEncoder( {} );
100
- // @TODO: Consider making this static.
101
- const bindGroupLayout = pipeline.getBindGroupLayout( 0 );
+ const bindGroupLayout = pipeline.getBindGroupLayout( 0 ); // @TODO: Consider making this static.
102
103
let srcView = textureGPU.createView( {
104
baseMipLevel: 0,
0 commit comments