Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
3 results across 6 corpora for GPUComputePassEncoder: dispatchWorkgroupsIndirect() method.
Developer library 3
GPUComputePassEncoder
## Instance methods - dispatchWorkgroups() - : Dispatches a specific grid of workgroups to perform the work being done by the current GPUComputePipeline. - dispatchWorkgroupsIndirect() - : Dispatches a grid of workgroups, defined by the parameters of a GPUBuffer, to perform the work being done by the current GPUComputePipeline. - end() - : Completes recording of the current compute pass command sequence. - in
GPUComputePassEncoder: dispatchWorkgroups() method
dispatch. If omitted, `workgroupCountZ` defaults to 1. > [!NOTE] > The X, Y, and Z dimension values passed to `dispatchWorkgroups()` and GPUComputePassEncoder.dispatchWorkgroupsIndirect() are the number of workgroups to dispatch for each dimension, not the number of shader invocations to perform across each dimension. This matches the behavior of modern native GPU APIs, but differs from the behavior of OpenCL. This
GPUComputePassEncoder: dispatchWorkgroupsIndirect() method
WebGPU API The **`dispatchWorkgroupsIndirect()`** method of the GPUComputePassEncoder interface dispatches a grid of workgroups, defined by the parameters of a GPUBuffer, to perform the work being done by the current GPUComputePipeline (i.e., set via GPUComputePassEncoder.setPipeline()). ## Syntax ```js-nolint dispatchWorkgroupsIndirect(indirectBuffer, indirectOffset) ``` ### Parameters - `indirectBuffer` - :