GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

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 GPUComputePipeline.

Developer library 6

GPUComputePipeline

WebGPU API The **`GPUComputePipeline`** interface of the WebGPU API represents a pipeline that controls the compute shader stage and can be used in a GPUComputePassEncoder. A `GPUComputePipeline` object instance can be created using the GPUDevice.createComputePipeline() or GPUDevice.createComputePipelineAsync() methods. ## Instance properties - label - : A string providing a label that can be used to identify

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePipeline

GPUComputePipeline: getBindGroupLayout() method

WebGPU API The **`getBindGroupLayout()`** method of the GPUComputePipeline interface returns the pipeline's GPUBindGroupLayout object with the given index (i.e., included in the originating GPUDevice.createComputePipeline() or GPUDevice.createComputePipelineAsync() call's pipeline layout). If the GPUComputePipeline was created with `layout: "auto"`, this method is the only way to retrieve the GPUBindGroupLayouts ge

GPUComputePipeline: label property

WebGPU API The **`label`** property of the GPUComputePipeline interface provides a label that can be used to identify the object, for example in GPUError messages or console warnings. This can be set by providing a `label` property in the descriptor object passed into the originating GPUDevice.createComputePipeline() or GPUDevice.createComputePipelineAsync() call, or you can get and set it directly on the `GPUCompu

WebGPU API

rce: { buffer: output, }, }, ], }); ``` > [!NOTE] > You could retrieve an implicit layout to use when creating a bind group by calling the GPUComputePipeline.getBindGroupLayout() method. There is also a version available for render pipelines: see GPURenderPipeline.getBindGroupLayout(). ### Create a compute pipeline With the above all in place, we can now create a compute pipeline by calling GPU

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API

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: setPipeline() method

WebGPU API The **`setPipeline()`** method of the GPUComputePassEncoder interface sets the GPUComputePipeline to use for this compute pass. ## Syntax ```js-nolint setPipeline(pipeline) ``` ### Parameters - `pipeline` - : The GPUComputePipeline to use for this compute pass. ### Return value None (undefined). ## Examples In our [basic compute demo](https://mdn.github.io/dom-examples/webgpu-compute-demo/), sev

JSON results · Services directory