Skip to content

wgpu needs GPU architecture detection #8649

@cwfitzgerald

Description

@cwfitzgerald

This seems rather hard, but dawn has already figured out a pretty solid way to do it:

https://source.chromium.org/chromium/chromium/src/+/main:third_party/dawn/src/dawn/gpu_info.json;bpv=0;bpt=0

We can take this and generate rust code from it, minding that we'd need to roll something for metal based on GPU families. This is something we "need" for WebGPU's GPUAdapterInfo.architecture anyway. This will help our testing infrastructure differentiate between architectures. For example Xe and Xe-LPG have different failure sets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: apiIssues related to API surfacearea: testsImprovements or issues with our test suitetype: enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions