-
Notifications
You must be signed in to change notification settings - Fork 342
Change .getQueue() to .defaultQueue #490
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it be a property?
Good call. I would support that. |
Resolution from the 2019-11-11 meeting: have it be a |
It's expected that we'll add multi-queue support to WebGPU. To prepare for this, change .getQueue() to .defaultQueue under the expectation that adding multi-queue should be a non-breaking addition to the API. This change should make the current API safe for the multi-queue future.
d3d1f7e
to
24b9fdb
Compare
Done, PTAL |
LGTM, I think this is safe to merge given we agreed to this in the meeting. |
Realized right after sending it I should add a SameObject attribute to it. |
We'll want some SameObjects in other places too, but I'll make another PR. |
In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9
This follows changes in gpuweb/gpuweb#490
In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/master@{#716116}
In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/master@{#716116}
Spec changes: gpuweb/gpuweb#490
Spec changes: gpuweb/gpuweb#490
…eue, a=testonly Automatic update from web-platform-tests WebGPU: Change .getQueue() to .defaultQueue In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/master@{#716116} -- wpt-commits: 23ff72fee1280b19364f14ec2f0f5e6a867d4b88 wpt-pr: 20295
…eue, a=testonly Automatic update from web-platform-tests WebGPU: Change .getQueue() to .defaultQueue In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/master@{#716116} -- wpt-commits: 23ff72fee1280b19364f14ec2f0f5e6a867d4b88 wpt-pr: 20295
…eue, a=testonly Automatic update from web-platform-tests WebGPU: Change .getQueue() to .defaultQueue In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallezchromium.org> Commit-Queue: Corentin Wallez <cwallezchromium.org> Cr-Commit-Position: refs/heads/master{#716116} -- wpt-commits: 23ff72fee1280b19364f14ec2f0f5e6a867d4b88 wpt-pr: 20295 UltraBlame original commit: ead6f4061c164022a0577beeddbbd6d7d51fc40b
…eue, a=testonly Automatic update from web-platform-tests WebGPU: Change .getQueue() to .defaultQueue In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallezchromium.org> Commit-Queue: Corentin Wallez <cwallezchromium.org> Cr-Commit-Position: refs/heads/master{#716116} -- wpt-commits: 23ff72fee1280b19364f14ec2f0f5e6a867d4b88 wpt-pr: 20295 UltraBlame original commit: ead6f4061c164022a0577beeddbbd6d7d51fc40b
…eue, a=testonly Automatic update from web-platform-tests WebGPU: Change .getQueue() to .defaultQueue In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallezchromium.org> Commit-Queue: Corentin Wallez <cwallezchromium.org> Cr-Commit-Position: refs/heads/master{#716116} -- wpt-commits: 23ff72fee1280b19364f14ec2f0f5e6a867d4b88 wpt-pr: 20295 UltraBlame original commit: ead6f4061c164022a0577beeddbbd6d7d51fc40b
* Add test for zero sized index buffer out of bounds draw * fix
…eue, a=testonly Automatic update from web-platform-tests WebGPU: Change .getQueue() to .defaultQueue In an effort to support multi-queue with WebGPU, the shape of the API has changed in the spec side[1]. [1] gpuweb/gpuweb#490 Bug: 852089 Change-Id: I6971ef859f4af1b94663589039009d416f1bc9a9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919531 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Cr-Commit-Position: refs/heads/master@{#716116} -- wpt-commits: 23ff72fee1280b19364f14ec2f0f5e6a867d4b88 wpt-pr: 20295
It's expected that we'll add multi-queue support to WebGPU. To prepare
for this, rename getQueue to getDefaultQueue under the assumption
(/recommendation) that adding multi-queue should be a non-breaking
addition to the API. This change should make the current API safe for
the multi-queue future.
Preview | Diff