Skip to content

Conversation

kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Nov 7, 2019

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

Copy link
Contributor

@kvark kvark left a 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?

@kainino0x
Copy link
Contributor Author

Good call. I would support that.

@Kangz
Copy link
Contributor

Kangz commented Nov 11, 2019

Resolution from the 2019-11-11 meeting: have it be a defaultQueue attribute.

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.
@kainino0x
Copy link
Contributor Author

Done, PTAL

@Kangz
Copy link
Contributor

Kangz commented Nov 12, 2019

LGTM, I think this is safe to merge given we agreed to this in the meeting.

@kainino0x
Copy link
Contributor Author

Realized right after sending it I should add a SameObject attribute to it.

@kainino0x
Copy link
Contributor Author

We'll want some SameObjects in other places too, but I'll make another PR.

@kainino0x kainino0x changed the title Rename getQueue to getDefaultQueue Change .getQueue() to .defaultQueue Nov 12, 2019
@kainino0x kainino0x merged commit 6dfbcec into gpuweb:master Nov 12, 2019
@kainino0x kainino0x deleted the getdefaultqueue branch November 12, 2019 15:21
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 18, 2019
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
Kangz added a commit to gpuweb/types that referenced this pull request Nov 18, 2019
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 18, 2019
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}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Nov 18, 2019
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}
romandev added a commit to romandev/cts that referenced this pull request Nov 18, 2019
kainino0x pushed a commit to gpuweb/cts that referenced this pull request Nov 27, 2019
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Nov 29, 2019
…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
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Nov 29, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Nov 30, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Nov 30, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Nov 30, 2019
…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
michaldybizbanski added a commit to michaldybizbanski/gpuweb that referenced this pull request May 1, 2020
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
JusSn pushed a commit to JusSn/gpuweb that referenced this pull request Jun 8, 2020
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
* Add test for zero sized index buffer out of bounds draw

* fix
bhearsum pushed a commit to mozilla-releng/staging-firefox that referenced this pull request May 1, 2025
…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
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.

4 participants