diff --git a/examples/jsm/renderers/webgpu/WebGPUAttributes.js b/examples/jsm/renderers/webgpu/WebGPUAttributes.js index e3c4d7e48026d2..9aa0b5bee357b9 100644 --- a/examples/jsm/renderers/webgpu/WebGPUAttributes.js +++ b/examples/jsm/renderers/webgpu/WebGPUAttributes.js @@ -64,7 +64,7 @@ class WebGPUAttributes { _createBuffer( attribute, usage ) { const array = attribute.array; - const size = array.byteLength + ( ( 4 - ( array.byteLength % 4 ) ) % 4 ); // ensure 4 byte alignment + const size = array.byteLength + ( ( 4 - ( array.byteLength % 4 ) ) % 4 ); // ensure 4 byte alignment, see #20441 const buffer = this.device.createBuffer( { size: size,