Skip to content

CI should check for properly formatted wgsl #15449

Open

Description

What problem does this solve or what need does it fill?

This is an example of a file which is not formatted properly. It has trailing whitespace.

crates\bevy_ui\src\render\ui.wgsl

What solution would you like?

There should be a step in the CI job which checks that wgsl files are formatted properly.

What alternative(s) have you considered?

None

Additional context

I noticed a random whitespace change in this PR caused by unformatted code being merged.

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

Metadata

Labels

A-Build-SystemRelated to build systems or continuous integrationC-FeatureA new feature, making something new possibleD-ShadersThis code uses GPU shader languagesS-BlockedThis cannot move forward until something else changesS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedX-UncontroversialThis work is generally agreed upon

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions