@tojiro
Quick question: If a big storage buffer b1 needs to be copied to another buffer b2 at the beginning of a compute shader (where those buffers are parallelized with index "i = global_id.x"), would it be faster to call "b2[i] = b1[i]" in the shader or call "commandEncoder.copyBufferToBuffer(b1, 0, b2)" before the shader call?
#webgpu
Quick question: If a big storage buffer b1 needs to be copied to another buffer b2 at the beginning of a compute shader (where those buffers are parallelized with index "i = global_id.x"), would it be faster to call "b2[i] = b1[i]" in the shader or call "commandEncoder.copyBufferToBuffer(b1, 0, b2)" before the shader call?
#webgpu