Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for GPUComputePassEncoder: pushDebugGroup() method.
Developer library 6
GPUComputePassEncoder
WebGPU API The **`GPUComputePassEncoder`** interface of the WebGPU API encodes commands related to controlling the compute shader stage, as issued by a GPUComputePipeline. It forms part of the overall encoding activity of a GPUCommandEncoder. A compute pipeline contains a single compute stage in which a compute shader takes general data, processes it in parallel across a specified number of workgroups, then returns
GPUComputePassEncoder: pushDebugGroup() method
WebGPU API The **`pushDebugGroup()`** method of the GPUComputePassEncoder interface begins a compute pass debug group, which is marked with a specified label, and will contain all subsequent encoded commands up until a popDebugGroup() method is invoked. This could be used for telemetry, or may be utilized in GPUError messages, browser dev tools, or other services in the future to help with debugging. ## Syntax ``
GPUComputePassEncoder: end() method
WebGPU API The **`end()`** method of the GPUComputePassEncoder interface completes recording of the current compute pass command sequence. ## Syntax ```js-nolint end() ``` ### Parameters None. ### Return value None (undefined). ### Validation The following criteria must be met when calling **`end()`**, otherwise a GPUValidationError is generated and the GPUComputePassEncoder becomes invalid: - The GPUComput
GPUComputePassEncoder: popDebugGroup() method
WebGPU API The **`popDebugGroup()`** method of the GPUComputePassEncoder interface ends a compute pass debug group, which is begun with a pushDebugGroup() call. This could be used for telemetry, or may be utilized in GPUError messages, browser dev tools, or other services in the future to help with debugging. ## Syntax ```js-nolint popDebugGroup() ``` ### Parameters None. ### Return value None (undefined). #
GPUCommandEncoder
the object, for example in GPUError messages or console warnings. ## Instance methods - beginComputePass() - : Starts encoding a compute pass, returning a GPUComputePassEncoder that can be used to control computation. - beginRenderPass() - : Starts encoding a render pass, returning a GPURenderPassEncoder that can be used to control rendering. - clearBuffer() - : Encodes a command that fills a region of a GPU
GPUCommandEncoder: finish() method
- There are no active debug groups (i.e., started via pushDebugGroup()). - The GPUCommandEncoder is in an open state — this means that: - There are no child GPUComputePassEncoder or GPURenderPassEncoders active that have not been ended (by calling `end()`). - The GPUCommandEncoder has not already had `finish()` called on it (in which case it cannot be used to encode any more commands). ## Examples ```js // …