GHGL - how to pass an array?

I can’t make arrays (list) work in ghgl… i tried something like:
uniform float test[10];
and made an input named ‘test’ and fed it a list of 10 values.
There are no compiler errors, but all values are 0

It was a bug in GhGL. I just pushed a new version of GhGL that should have this fixed.

1 Like