Repository navigation
Specialization constants and local group sizes #2552
WalkerWhite
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am testing a GLSL compute shader in MoltenVK where I set the local group size with specialization constants like this
If I explicitly set the specialization constants with VkSpecializationInfo, then I get the correct behavior. However, if I do not set them explicitly, the local size dimension defaults to 1, not the default that I provided. Is this expected behavior? I cannot find anything in the spec that says either way about what to do in the case of default here.
I will mention that all other specialization constants honor their defaults. It is only an issue when I am using to set the local group size.
All reactions