Skip to content

WebGPU functions to run a basic compute example

Gyula Zakor edited this page Feb 4, 2020 · 12 revisions

Track the state of the missing functions in order to run the basic compute example from: https://hello-webgpu-compute.glitch.me/

GPU:

  • requestAdapter

Adapter:

  • requestDevice

Device:

  • createBufferMapped
  • createBuffer
  • createBindGroupLayout
  • createPipelineLayout
  • createBindGroup
  • createComputePipeline
  • createShaderModule
  • createCommandEncoder*
  • defaultQueue*

Queue:

  • submit*

CommandEncoder:

  • beginComputePass*
  • copyBufferToBuffer*
  • finish*

ComputePassencoder:

  • setPipeline
  • setBindGroup*
  • dispatch*
  • endPass*

Buffer:

  • mapReadAsync

* WIP

Clone this wiki locally