You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not tested SSBOs specifically but it should be possible to create a global variable and put the right address space on it so that the generated SPIR-V conforms to what Vulkan wants. See shady.h and grammar.json for how those are defined
As far as alignment issues go, you can read the logic for it here, I don't do different layouts for address spaces so you will likely require the scalar layout extension or have to be careful with what data types you use.
Is there a shader code example how to do this in vcc? I know the GLSL and HLSL ways of doing this, but I don't know how vcc does it :) Thanks!
The text was updated successfully, but these errors were encountered: