Skip to content

Move create_validator into Its Own Crate #6652

Open
@atlv24

Description

So while #5606 did address #5277, it did not fully solve our problem at bevy, because webgpu builds do not include wgpu_core, so we ended up having to duplicate the logic anyways

there's a few options i see to resolving this

  1. make naga depend on wgpu-types and put create_validator there (undesirable)
  2. make wgpu-types depend on naga and put create_validator there (undesirable)
  3. duplicate the function in wgpu, so its available in wgpu_core and wgpu (probably undesirable)
  4. make a new crate for naga+wgt core stuff thats shared by web and native (new crate sounds annoying)
  5. do nothing and keep the maintenance burden on bevy (undesirable for me)

Metadata

Assignees

No one assigned

    Labels

    area: apiIssues related to API surfacehelp requiredWe need community help to make this happen.type: enhancementNew feature or request

    Type

    No type

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions