-
Notifications
You must be signed in to change notification settings - Fork 316
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
Change GPUError to a base class instead of a union #2853
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kainino0x
added
the
tacit resolution queue
Editors have agreed and intend to land if no feedback is given
label
May 9, 2022
toji
reviewed
May 9, 2022
Co-authored-by: Brandon Jones <tojiro@gmail.com>
toji
approved these changes
May 11, 2022
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.
LGTM!
kdashg
approved these changes
May 11, 2022
kainino0x
removed
the
tacit resolution queue
Editors have agreed and intend to land if no feedback is given
label
May 16, 2022
github-actions bot
added a commit
that referenced
this pull request
May 16, 2022
SHA: a7f36ce Reason: push, by @kainino0x Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot
added a commit
that referenced
this pull request
May 16, 2022
SHA: a7f36ce Reason: push, by @kainino0x Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
May 18, 2022
The spec updated in gpuweb/gpuweb#2853 to change the error types from a union to extended interfaces from a GPUError base class. IDL slightly differs from current spec text to fix an issue with the way the constructors were declared. Bug: 1326472 Change-Id: I83d1d840ef4b57b25980cb8d0da35dea3a0ead82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3649688 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004905}
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
May 18, 2022
This reverts commit e42a232. Reason for revert: Looks like this broke compile: https://ci.chromium.org/ui/p/chromium/builders/ci/linux-archive-rel/67275/overview Original change's description: > Update GPUError interface hierarchy > > The spec updated in gpuweb/gpuweb#2853 to change > the error types from a union to extended interfaces from a GPUError base > class. IDL slightly differs from current spec text to fix an issue with > the way the constructors were declared. > > Bug: 1326472 > Change-Id: I83d1d840ef4b57b25980cb8d0da35dea3a0ead82 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3649688 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Kai Ninomiya <kainino@chromium.org> > Commit-Queue: Brandon Jones <bajones@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1004905} Bug: 1326472 Change-Id: Ib2f2c427c99fcad09f4f9d201cc224fa7a148486 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3654479 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Scott Little <sclittle@chromium.org> Owners-Override: Scott Little <sclittle@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004923}
aarongable
pushed a commit
to chromium/chromium
that referenced
this pull request
May 18, 2022
The spec updated in gpuweb/gpuweb#2853 to change the error types from a union to extended interfaces from a GPUError base class. IDL slightly differs from current spec text to fix an issue with the way the constructors were declared. This CL removes the old union include and gn entries, which caused a compilation failure on the tree with the last attempt. Bug: 1326472 Change-Id: I4001096f698eb75eea7cbd570a4640ec1182562b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3654655 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1005019}
kainino0x
added
the
needs-cts-issue
This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet
label
Jun 29, 2022
jdarpinian
pushed a commit
to jdarpinian/gpuweb
that referenced
this pull request
Aug 12, 2022
* Change GPUError to a base class instead of a union * Apply suggestions from code review Co-authored-by: Brandon Jones <tojiro@gmail.com> Co-authored-by: Brandon Jones <tojiro@gmail.com>
juj
added a commit
to juj/wasm_webgpu
that referenced
this pull request
Aug 17, 2022
…eb#2853 WebGPU spec still not great, does not have a general error code. See also gpuweb/gpuweb#2750 and gpuweb/gpuweb#1884 .
mjfroman
pushed a commit
to mjfroman/moz-libwebrtc-third-party
that referenced
this pull request
Oct 14, 2022
The spec updated in gpuweb/gpuweb#2853 to change the error types from a union to extended interfaces from a GPUError base class. IDL slightly differs from current spec text to fix an issue with the way the constructors were declared. Bug: 1326472 Change-Id: I83d1d840ef4b57b25980cb8d0da35dea3a0ead82 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3649688 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004905} NOKEYCHECK=True GitOrigin-RevId: e42a232659787b7037735718d32b3253ef2038d1
mjfroman
pushed a commit
to mjfroman/moz-libwebrtc-third-party
that referenced
this pull request
Oct 14, 2022
This reverts commit e42a232659787b7037735718d32b3253ef2038d1. Reason for revert: Looks like this broke compile: https://ci.chromium.org/ui/p/chromium/builders/ci/linux-archive-rel/67275/overview Original change's description: > Update GPUError interface hierarchy > > The spec updated in gpuweb/gpuweb#2853 to change > the error types from a union to extended interfaces from a GPUError base > class. IDL slightly differs from current spec text to fix an issue with > the way the constructors were declared. > > Bug: 1326472 > Change-Id: I83d1d840ef4b57b25980cb8d0da35dea3a0ead82 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3649688 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Reviewed-by: Kai Ninomiya <kainino@chromium.org> > Commit-Queue: Brandon Jones <bajones@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1004905} Bug: 1326472 Change-Id: Ib2f2c427c99fcad09f4f9d201cc224fa7a148486 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3654479 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Scott Little <sclittle@chromium.org> Owners-Override: Scott Little <sclittle@chromium.org> Cr-Commit-Position: refs/heads/main@{#1004923} NOKEYCHECK=True GitOrigin-RevId: 88c2536b797553a94da4f975fc5af4d6511f54a6
mjfroman
pushed a commit
to mjfroman/moz-libwebrtc-third-party
that referenced
this pull request
Oct 14, 2022
The spec updated in gpuweb/gpuweb#2853 to change the error types from a union to extended interfaces from a GPUError base class. IDL slightly differs from current spec text to fix an issue with the way the constructors were declared. This CL removes the old union include and gn entries, which caused a compilation failure on the tree with the last attempt. Bug: 1326472 Change-Id: I4001096f698eb75eea7cbd570a4640ec1182562b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3654655 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Brandon Jones <bajones@chromium.org> Cr-Commit-Position: refs/heads/main@{#1005019} NOKEYCHECK=True GitOrigin-RevId: c1e67575a6f8415e3861a6eed96242b1531c6399
Updated CTS draft issue |
lokokung
removed
the
needs-cts-issue
This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet
label
Dec 6, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2750
Related to #1884
Preview | Diff