Validate canvas configuration in configure() - #2821
Merged
Merged
Conversation
kainino0x
commented
May 4, 2022
This comment was marked as outdated.
This comment was marked as outdated.
kainino0x
force-pushed
the
configure-early-error
branch
from
May 4, 2022 20:40
66ec47d to
b6e633f
Compare
kainino0x
force-pushed
the
configure-early-error
branch
from
May 4, 2022 20:43
b6e633f to
f419a4d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
kainino0x
force-pushed
the
configure-early-error
branch
from
May 4, 2022 20:55
f419a4d to
df47e31
Compare
kainino0x
marked this pull request as ready for review
May 4, 2022 21:01
Contributor
Author
Contributor
toji
approved these changes
May 5, 2022
toji
left a comment
Member
There was a problem hiding this comment.
LGTM. There's some minor questions that I have about how this will interact with the canvas size changes we discussed this morning, but I'm happy to leave those to the follow-up change. This feels significantly cleaner than what we previously had in the meantime.
kainino0x
enabled auto-merge (squash)
May 16, 2022 22:14
kainino0x
disabled auto-merge
May 16, 2022 22:20
kainino0x
enabled auto-merge (squash)
May 16, 2022 22:20
kainino0x
force-pushed
the
configure-early-error
branch
from
May 16, 2022 22:28
c2a2d8f to
25fa086
Compare
Contributor
github-actions Bot
added a commit
that referenced
this pull request
May 16, 2022
SHA: f1fe2b7 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: f1fe2b7 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: f1fe2b7 Reason: push, by @kainino0x Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
jdarpinian
pushed a commit
to jdarpinian/gpuweb
that referenced
this pull request
Aug 12, 2022
* no-op: Move GPUTextureDescriptor validation into an algorithm * editorial: Restrict bits in GPUTextureDescriptor.usage * Validate canvas configuration in configure() * handle OffscreenCanvas * reword redundant validation
This file contains hidden or 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
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.
Dependent on #2823Moves the validation of the GPUCanvasConfiguration to configure(), instead of doing it implicitly later in getCurrentTexture().
💥 Error: 500 Internal Server Error 💥
PR Preview failed to build. (Last tried on May 16, 2022, 10:29 PM UTC).
More
PR Preview relies on a number of web services to run. There seems to be an issue with the following one:
🚨 CSS Spec Preprocessor - CSS Spec Preprocessor is the web service used to build Bikeshed specs.
🔗 Related URL
If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.