-
Notifications
You must be signed in to change notification settings - Fork 244
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
Enable builtins. #848
Enable builtins. #848
Conversation
Can you try adding tests for these? I thought they couldn't work for now. |
They seem to work fine. Any reason why you think they shouldn't? |
Is there an example of an existing builtin test somewhere? |
d5aba0a
to
f3e14aa
Compare
See: #789 (I followed the git blame)
|
f3e14aa
to
55f1a88
Compare
ok |
I think this should be fine to go in if you just back out the workgroup_size change, then. |
Let me know if you want me to drop the example. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the Vulkan spec (since SPIR-V fails to document it), looks like SubgroupLocalInvocationId
does indeed go on a variable.
(Whereas for WorkgroupSize
it mentions "constants" - though technically ambiguous/a misuse of "variable")
No description provided.