https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/end
GPUComputePassEncoder: end() method - Web APIs | MDN
The end() method of the GPUComputePassEncoder interface completes recording of the current compute pass command sequence.
web apisendmethodmdn