Skip to content

Comments

WebGPU PR #3 — Interfaces for representing pipelines#25174

Merged
Elchi3 merged 7 commits intomdn:mainfrom
chrisdavidmills:webgpu-docs-3-pipelines
Apr 5, 2023
Merged

WebGPU PR #3 — Interfaces for representing pipelines#25174
Elchi3 merged 7 commits intomdn:mainfrom
chrisdavidmills:webgpu-docs-3-pipelines

Conversation

@chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Mar 8, 2023

Important: DO NOT merge this PR until #25140 has been merged.

Description

This PR is part of a multi-PR series that aims to document the WebGPU API. The interfaces documented in this PR are:

  • GPUBindGroup (done)
  • GPUBindGroupLayout (done)
  • GPUComputePipeline (done)
  • GPUPipelineLayout (done)
  • GPURenderPipeline (done)

Note that the main PR for this series is #24202 — that one must be merged first, before any others! after that, and each subsequent one, is merged, main should be merged into the next PR, and the documentation integrity must be checked (e.g. do all the links work) before merging.

You can see full details of the additions expected in the WebGPU docs in my research document.

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner March 8, 2023 11:55
@chrisdavidmills chrisdavidmills requested review from wbamberg and removed request for a team March 8, 2023 11:55
@github-actions github-actions bot added the Content:WebAPI Web API docs label Mar 8, 2023
@chrisdavidmills chrisdavidmills changed the title Add reference docs for GPUBindGroup WebGPU PR #3 — Interfaces for representing pipelines Mar 8, 2023
@chrisdavidmills chrisdavidmills mentioned this pull request Mar 8, 2023
@chrisdavidmills chrisdavidmills marked this pull request as draft March 8, 2023 11:56
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2023

Preview URLs (12 pages)
Flaws (15)

URL: /en-US/docs/Web/API/GPUBindGroupLayout
Title: GPUBindGroupLayout
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUBindGroupLayout/label
Title: GPUBindGroupLayout.label
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUBindGroup
Title: GPUBindGroup
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUBindGroup/label
Title: GPUBindGroup.label
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUComputePipeline
Title: GPUComputePipeline
Flaw count: 2

  • macros:
    • /en-US/docs/Web/API/GPUComputePassEncoder does not exist
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUComputePipeline/label
Title: GPUComputePipeline.label
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUComputePipeline/getBindGroupLayout
Title: GPUComputePipeline.getBindGroupLayout()
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUValidationError does not exist

URL: /en-US/docs/Web/API/GPUPipelineLayout
Title: GPUPipelineLayout
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPUPipelineLayout/label
Title: GPUPipelineLayout.label
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPURenderPipeline
Title: GPURenderPipeline
Flaw count: 3

  • macros:
    • /en-US/docs/Web/API/GPURenderPassEncoder does not exist
    • /en-US/docs/Web/API/GPURenderBundleEncoder does not exist
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPURenderPipeline/label
Title: GPURenderPipeline.label
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUError does not exist

URL: /en-US/docs/Web/API/GPURenderPipeline/getBindGroupLayout
Title: GPURenderPipeline.getBindGroupLayout()
Flaw count: 1

  • macros:
    • /en-US/docs/Web/API/GPUValidationError does not exist
External URLs (11)

URL: /en-US/docs/Web/API/GPUBindGroupLayout
Title: GPUBindGroupLayout


URL: /en-US/docs/Web/API/GPUBindGroup
Title: GPUBindGroup


URL: /en-US/docs/Web/API/GPUComputePipeline
Title: GPUComputePipeline


URL: /en-US/docs/Web/API/GPUComputePipeline/getBindGroupLayout
Title: GPUComputePipeline.getBindGroupLayout()


URL: /en-US/docs/Web/API/GPUPipelineLayout
Title: GPUPipelineLayout


URL: /en-US/docs/Web/API/GPURenderPipeline
Title: GPURenderPipeline


URL: /en-US/docs/Web/API/GPURenderPipeline/getBindGroupLayout
Title: GPURenderPipeline.getBindGroupLayout()

(comment last updated: 2023-04-05 13:00:28)

@chrisdavidmills
Copy link
Contributor Author

@toji Another set of WebGPU docs to review! A much smaller one this time round.

Copy link
Contributor

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, as always! Not too much feedback this time around.

@chrisdavidmills
Copy link
Contributor Author

@toji OK, fixes made. Thanks for the comments!

Copy link
Contributor

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Updated PR LGTM overall. Can't approve because it's a draft.

@chrisdavidmills
Copy link
Contributor Author

Great! Updated PR LGTM overall. Can't approve because it's a draft.

Thanks! I'll keep a note in the main PR about which ones you've reviewed and given the thumbs up to. I'm keeping them as drafts for now just in case some random community member decides to try to merge it. I'll undraft them once the content is all done and we are ready to merge.

@chrisdavidmills chrisdavidmills force-pushed the webgpu-docs-3-pipelines branch from 1056b69 to 29b4fb5 Compare April 5, 2023 12:58
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging as discussed in slack! 👍

@Elchi3 Elchi3 merged commit f53f079 into mdn:main Apr 5, 2023
@chrisdavidmills chrisdavidmills deleted the webgpu-docs-3-pipelines branch April 5, 2023 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants