4 ms·
I don't know about Tracy, but I've seen a couple WebGPU JS debugging tools simply intercepting calls to the various WebGPU functions like writeBuffer, draw, etc
by ossobuco 2y ago
I don't know about Tracy, but I've seen a couple WebGPU JS debugging tools simply intercepting calls to the various WebGPU functions like writeBuffer, draw, etc, by modifying the prototypes of Device, Queue and so on[0].
- 0: https://github.com/brendan-duncan/webgpu_inspector/blob/main/src/utils/gpu_object_wrapper.js#L140 https://github.com/brendan-duncan/webgpu_inspector/blob/main...