Skip to content

Consider changing around the feature items #58

Description

@MendyBerger

Consider changing gpu-supported-features and wgsl-language-features to flags, and remove gpu-feature-name.

gpu-supported-features and wgsl-language-features are defined in the spec as setlike<DOMString>, which is essentially a bag of bools, so flags would work nice for them.

gpu-supported-features can also be changed to gpu-features to take the place of both gpu-supported-features and gpu-feature-name.

gpu-device-descriptor.required-features - which is the only place gpu-feature-name is used - is currently option<list<gpu-feature-name>> and could just be changed to option<gpu-features>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions