diff --git a/src/platform/graphics/webgpu/webgpu-graphics-device.js b/src/platform/graphics/webgpu/webgpu-graphics-device.js index 4346064f3e7..0f5461db091 100644 --- a/src/platform/graphics/webgpu/webgpu-graphics-device.js +++ b/src/platform/graphics/webgpu/webgpu-graphics-device.js @@ -463,9 +463,9 @@ class WebgpuGraphicsDevice extends GraphicsDevice { if (ib) { this.indexBuffer = null; passEncoder.setIndexBuffer(ib.impl.buffer, ib.impl.format); - passEncoder.drawIndexed(primitive.count, numInstances, 0, 0, 0); + passEncoder.drawIndexed(primitive.count, numInstances, primitive.base, 0, 0); } else { - passEncoder.draw(primitive.count, numInstances, 0, 0); + passEncoder.draw(primitive.count, numInstances, primitive.base, 0); } WebgpuDebug.end(this, {