Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename dispatch -> dispatchWorkgroups #2689

Merged
merged 1 commit into from
Apr 4, 2022
Merged

Rename dispatch -> dispatchWorkgroups #2689

merged 1 commit into from
Apr 4, 2022

Conversation

toji
Copy link
Member

@toji toji commented Mar 24, 2022

Fixes #2669

Given that there doesn't seem to be any outrage at the idea of renaming these methods, here's a spec PR to make it happen.

Also took the opportunity to clean up a little bit of formatting and move the note explaining the application of the workgroup counts into the dispatchWorkgroups() algorithm description so that it's more easily noticed by anyone looking at the spec for reference.


Preview | Diff

@toji toji requested a review from kainino0x March 24, 2022 20:49
@github-actions
Copy link
Contributor

Previews, as seen when this build job started (311e8d7):
WebGPU | IDL
WGSL
Explainer

Copy link
Contributor

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

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

LGTM with group approval

@kainino0x kainino0x added the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Mar 28, 2022
@toji toji merged commit 4a34ea5 into main Apr 4, 2022
@toji
Copy link
Member Author

toji commented Apr 4, 2022

Landing due to lack of voiced concerns.

@toji toji deleted the dispatch-workgroups branch April 4, 2022 21:30
@kainino0x kainino0x removed the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Apr 5, 2022
aarongable pushed a commit to chromium/chromium that referenced this pull request Apr 30, 2022
Dependent on https://dawn-review.googlesource.com/c/dawn/+/88364

In gpuweb/gpuweb#2689 both dispatch and
dispatchIndirect were renamed to dispatchWorkgroups and
dispatchWorkgroupsIndirect in order to clarify the meaning of the
arguments.

Bug: dawn:22
Change-Id: Iad26a9c6871cf6b6273e359a9b28d0f116957d5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3614042
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#998052}
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
Dependent on https://dawn-review.googlesource.com/c/dawn/+/88364

In gpuweb/gpuweb#2689 both dispatch and
dispatchIndirect were renamed to dispatchWorkgroups and
dispatchWorkgroupsIndirect in order to clarify the meaning of the
arguments.

Bug: dawn:22
Change-Id: Iad26a9c6871cf6b6273e359a9b28d0f116957d5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3614042
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#998052}
NOKEYCHECK=True
GitOrigin-RevId: 7c7a39eb1383713695ea0f73fa5a2c0665454d01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarify meaning of dispatch() args.
2 participants