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
for (int i = 0; i < 3; i += 2)
for (int j = 0; j < 3; j += 2) {
// code
}
this will prevent #pragma glslify: export(f) from name mangling f. Instead of being renamed to f_0 in the output, it is left as just f. Later when you try to use it in an import, it gives you an error saying no matching overloaded function found. Adding the braces is a workaround:
for (int i = 0; i < 3; i += 2) {
for (int j = 0; j < 3; j += 2) {
// code
}}
The text was updated successfully, but these errors were encountered:
I am running into the following issue. Is there a chance this might be related @cjmalloy ?
WARNING: 0:24: 'glslify' : unrecognized pragma
ERROR: 0:46: 'snoise' : no matching overloaded function found
ERROR: 0:58: 'snoise' : no matching overloaded function found
If you skip curly braces like so:
this will prevent
#pragma glslify: export(f)
from name mangling f. Instead of being renamed tof_0
in the output, it is left as justf
. Later when you try to use it in an import, it gives you an error saying no matching overloaded function found. Adding the braces is a workaround:The text was updated successfully, but these errors were encountered: