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 GPUDevice: createBindGroupLayout() method.

Developer library 6

GPUComputePipeline

c example Our [basic compute demo](https://mdn.github.io/dom-examples/webgpu-compute-demo/) shows a process of: - Creating a bind group layout with GPUDevice.createBindGroupLayout(). - Feeding the `bindGroupLayout` into GPUDevice.createPipelineLayout() to create a GPUPipelineLayout. - Using that value immediately in a `createComputePipeline()` call to create a `GPUComputePipeline`. ```js // … const bindGroupLayou

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

WebGPU API

yout When the pipeline is created, we specify a bind group to use for the pipeline. This involves first creating a GPUBindGroupLayout (via a call to GPUDevice.createBindGroupLayout()) that defines the structure and purpose of GPU resources such as buffers that will be used in this pipeline. This layout is used as a template for bind groups to adhere to. In this case we give the pipeline access to a single memory buf

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

WGSLLanguageFeatures

- `readonly_and_readwrite_storage_textures` - : When available, allows the `"read-only"` and `"read-write"` [`storageTexture.access`](/docs/Web/API/GPUDevice/createBindGroupLayout#access) values to be set when specifying storage texture bind group entry types in a bind group layout. These enable WGSL code to read storage textures, and read/write storage textures, respectively. - `subgroup_id` - : When available,

GPUPipelineLayout

a binding with a buffer, a texture, and a sampler. - Creates a `GPUPipelineLayout` based on the GPUBindGroupLayout. ```js // … const bindGroupLayout = device.createBindGroupLayout({ entries: [ { binding: 0, visibility: GPUShaderStage.VERTEX | GPUShaderStage.FRAGMENT, buffer: {}, }, { binding: 1, visibility: GPUShaderStage.FRAGMENT, texture: {}, }, { bi

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

GPUComputePassEncoder: setBindGroup() method

sets` - : A value specifying the offset, in bytes, for each entry in `bindGroup` with `hasDynamicOffset: true` set (i.e., in the descriptor of the GPUDevice.createBindGroupLayout() call that created the GPUBindGroupLayout object that the `bindGroup` is based on). This value can be: - An array of numbers specifying the different offsets. - A Uint32Array containing numbers specifying the offsets. If a Uint3

GPURenderBundleEncoder: setBindGroup() method

sets` - : A value specifying the offset, in bytes, for each entry in `bindGroup` with `hasDynamicOffset: true` set (i.e., in the descriptor of the GPUDevice.createBindGroupLayout() call that created the GPUBindGroupLayout object that the `bindGroup` is based on). This value can be: - An array of numbers specifying the different offsets. - A Uint32Array containing numbers specifying the offsets. If a Uint3

JSON results · Services directory