Skip to content

Minor cleanup to keep inline with Dawn's headers. #541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

lokokung
Copy link
Collaborator

@lokokung lokokung commented May 7, 2025

  • Updates sorting to take into account extensions and ignore type name casing.
  • Updates some comments to use helpers and cleans up some whitespace.
  • Moves WGPU_STRLEN into a constant.

- Updates sorting to take into accound extensions and ignore
  type name casing.
- Updates some comments to use helpers and cleans up some
  whitespace.
- Moves WGPU_STRLEN into a constant.
@lokokung lokokung requested a review from kainino0x May 7, 2025 20:00
@@ -131,15 +131,9 @@
* For info on how this is used in various places, see \ref Strings.
*/
typedef struct WGPUStringView {
char const * WGPU_NULLABLE data;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: I have this here because it's where we want it to be eventually: http://github.com/webgpu-native/webgpu-headers/issues/190
and since it's not autogenerated it won't get fixed along with everything else when we finally fix it.
But I guess it doesn't matter, once we do that we'll actually test it (set the macro and compile test) and presumably we'll find this again.

@kainino0x kainino0x merged commit f2c7b3a into webgpu-native:main May 8, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants