Take the draw's counts from GPU memory: buffer (created with indirect: true) holds WebGPU's
drawIndirect arguments at byteOffset (drawIndexedIndirect arguments for an indexed draw), so a
compute pass can decide how many instances to draw without a CPU readback.
setRenderDrawCount switches the draw back to direct counts.
Take the draw's counts from GPU memory:
buffer(created withindirect: true) holds WebGPU'sdrawIndirectarguments atbyteOffset(drawIndexedIndirectarguments for an indexed draw), so a compute pass can decide how many instances to draw without a CPU readback. setRenderDrawCount switches the draw back to direct counts.