webgpu / webgpureport.org

A website to show WebGPU info
https://webgpureport.org
54 stars 8 forks source link

Show limit defaults next to adapter capabilities #17

Open kainino0x opened 3 months ago

kainino0x commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

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.