-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
WebGPU ShaderStage missing Flags attribute #2238
Comments
Hmmm. Looking at that enum it won't be automatically marked because of Maybe:
Or alternatively mark everything as |
cc @tannergooding do you have opinions on marking things with |
The problem is IsSequential returning true for the [0,1,2,4,int.MaxValue] set. Idea:
|
Summary
ShaderStage is used to indicate visibility of bind groups. It is allowed to have more than 1 of these items, and their values are 2^n.
Steps to reproduce
Write:
gives warning:
Comments
I know [Flags] needs to be added, I just do not know how in the process to automate that.
The text was updated successfully, but these errors were encountered: