GLSL to Slang Questions #4454
Replies: 2 comments 9 replies
-
@ArielG-NV for visibility regarding |
Beta Was this translation helpful? Give feedback.
4 replies
-
I read through the comment above. Glad the workgroup issue could be fixed. Don't suppose there is any information about specialisation constants? The only reference I could find was #3044 from over 6 months ago that says the feature was dropped. Is this still the most up to date state of the feature? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm converting some GLSL code to Slang (and them compiling it back out to GLSL for comparison). I have a very basic GLSL shader that looks like this:
Most of the conversion is straight forward but I have ran into two issues so far that I can't seem to find an answer on:
WorkGroupSize()
doesn't appear to work. Whenever I try to use it I getunimplemented feature in Slang compiler
. I assume that means that it doesn't work for the GLSL backend, is there an alternative?Slang version for reference:
Beta Was this translation helpful? Give feedback.
All reactions