Skip to content
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

Use WGPUTextureUsageFlags in WGPUSurfaceConfiguration #218

Merged
merged 1 commit into from
Aug 21, 2023

Conversation

dj2
Copy link
Contributor

@dj2 dj2 commented Aug 21, 2023

The TextureUsage is a Bitmask, update the usage in SurfaceConfiguration to use the Flags typedef to be consistent with out uses of TextureUsage.

Follow-up to #203

The TextureUsage is a Bitmask, update the usage in SurfaceConfiguration
to use the Flags typedef to be consistent with out uses of TextureUsage.

Follow-up to webgpu-native#203
@kainino0x kainino0x self-requested a review August 21, 2023 23:25
Copy link
Collaborator

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

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

LGTM, fyi @rajveermalviya in case you run into this while implementing

@kainino0x kainino0x enabled auto-merge (squash) August 21, 2023 23:26
@kainino0x kainino0x merged commit 67598f1 into webgpu-native:main Aug 21, 2023
1 check passed
@dj2 dj2 deleted the texture_flags branch August 21, 2023 23:27
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