Sitelet https://github.com/gpuweb/gpuweb/pull/540
Skip to content

Define extensions, limits, and "valid usages" for requestDevice - #540

Merged
kainino0x merged 4 commits into
gpuweb:masterfrom
kainino0x:adapter-device-valid-usage
Feb 3, 2020
Merged

kainino0x merged 4 commits into
gpuweb:masterfrom
kainino0x:adapter-device-valid-usage

Conversation

@kainino0x

@kainino0x kainino0x commented Jan 9, 2020 •

Copy link
Copy Markdown
Contributor

Establishes a pattern, with requestDevice, for hopefully-readable validation rule blocks.


Preview | Diff

Establishes a pattern, with requestDevice, for hopefully-readable
validation rule blocks.
@kainino0x
kainino0x requested review from JusSn and kvark January 9, 2020 22:49
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
Comment thread spec/index.bs
{{GPULimits}} describes various limits in the usage of WebGPU on a device.

One limit value may be <dfn dfn>better</dfn> than another.
For each limit, "better" is defined.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nice 👍
I am concerned though. In some cases, requesting higher limits could result in slower implementation, assuming the implementation needs to prepare space and logic to account for the limits...
So it's strange to call them "better" in this context :/

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added a note about this, which I think is sufficient.

Comment thread spec/index.bs Outdated
Comment thread spec/index.bs Outdated
@kainino0x
kainino0x merged commit 2c09222 into gpuweb:master Feb 3, 2020
@kainino0x
kainino0x deleted the adapter-device-valid-usage branch February 3, 2020 23:38
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
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