Skip to content

Consider changing gpu-supported-limits to a record #57

@MendyBerger

Description

@MendyBerger

Consider changing gpu-supported-limits to a record.

This would allow us to use gpu-supported-limits in gpu-device-descriptor.limits and remove record-option-gpu-size64, as record-option-gpu-size64 feels a bit unnatural.

webgpu.h also seems to be using the same WGPULimits for WGPUDeviceDescriptor.WGPULimits and wgpuAdapterGetLimits.

webgpu.h makes each field optional through special UNDEFINED values.
I don't think we need to make the fields optional in our case, they can just default to the default values listed at https://www.w3.org/TR/webgpu/#supported-limits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions