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

Sanity warnings (WIP 🚧) #3

Open
jhvst opened this issue Jan 25, 2022 · 0 comments
Open

Sanity warnings (WIP 🚧) #3

jhvst opened this issue Jan 25, 2022 · 0 comments

Comments

@jhvst
Copy link
Member

jhvst commented Jan 25, 2022

It would be nice to add some sanity warnings for compute shaders.

To start with:

  1. Emit a warning if shader has a constant LocalSize on x-dimension less than the current subgroup size. Otherwise each invocation in the shader will be treated as a new subgroup, which makes use of subgroup operations impossible. In more abstract sense, this is a problem in the unclear semantics of what is a LocalSize in a shader and what is client side cmd_dispatch dimension, and how these two interact together.
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

No branches or pull requests

1 participant