Skip to content
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

Show limit defaults next to adapter capabilities #17

Open
kainino0x opened this issue Jul 22, 2024 · 2 comments
Open

Show limit defaults next to adapter capabilities #17

kainino0x opened this issue Jul 22, 2024 · 2 comments
Assignees

Comments

@kainino0x
Copy link

e.g. by creating a default device from the adapter and showing what its capabilities are.

This would be helpful to people before they have learned about WebGPU's system where it enforces the minimum limits by default.

Also in compat, it will show different values even on systems that have core and allow all of the core limits on compat adapters.

@greggman
Copy link
Contributor

I'm happy to add something, I just didn't want things to get cluttered since 3 adapters fit on my MBP right now (which show up when compat and fallback are enabled)

As it is that info is available by hovering (yea, that's not very discoverable)

Screenshot 2024-07-22 at 15 49 49

If the limit is > core default the value shows up in orange. If the limit is < core then it's in red (this is for compat)

@greggman
Copy link
Contributor

greggman commented Jul 22, 2024

Oh, and good idea to create the device to find the defaults. Right now they're hard coded with a 3rd color for when they're missing from the hard coded table.

@greggman greggman self-assigned this Jul 22, 2024
@greggman greggman mentioned this issue Jul 23, 2024
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

No branches or pull requests

2 participants