Skip to content

feat: Include GPU vendor/architecture in WebGPU feature log#8642

Merged
mvaligursky merged 1 commit into
mainfrom
mv-webgpu-log-vendor
Apr 23, 2026
Merged

feat: Include GPU vendor/architecture in WebGPU feature log#8642
mvaligursky merged 1 commit into
mainfrom
mv-webgpu-log-vendor

Conversation

@mvaligursky
Copy link
Copy Markdown
Contributor

Extends the WEBGPU features [...] init log with the adapter's vendor and architecture (or device) identifier, read from GPUAdapter.info. This makes the log self-identifying when triaging user reports — previously you could see the enabled features but not which GPU they came from.

Changes:

  • Read gpuAdapter.info.vendor and gpuAdapter.info.architecture (falling back to device) and prefix the log with (vendor / arch).
  • Entire expression lives inside the Debug.log(...) call, so the full vendor lookup is stripped in non-debug builds along with the log itself.
  • Log is broken across multiple lines for readability.

Before:
WEBGPU features [full]: float32-filterable, ..., subgroups

After:
WEBGPU (apple / metal-3) features [full]: float32-filterable, ..., subgroups

No public API changes.

Extends the `WEBGPU features [...]` init log with the adapter's vendor and
architecture identifier, making the log self-identifying when triaging user
reports.
@mvaligursky mvaligursky self-assigned this Apr 23, 2026
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Apr 23, 2026
@mvaligursky mvaligursky merged commit 83383c4 into main Apr 23, 2026
8 checks passed
@mvaligursky mvaligursky deleted the mv-webgpu-log-vendor branch April 23, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: graphics Graphics related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant