When I try to use #define FNLfloat double, I get the following error
ERROR: 0:602: '=' : cannot convert from ' temp double' to ' temp highp float'
ERROR: 0:602: '' : compilation terminated
Which seems to correspond to float xi = x - float(i); and float yi = y - float(j); in the _fnlSingleSimplex2D function... Is this just me? Any help would be appreciated.
Note that changing those lines to xi = float(x) - float(i); and float yi = float(y) - float(j); fixes the error, but another one appears later down.
When I try to use #define FNLfloat double, I get the following error
Which seems to correspond to float
xi = x - float(i);andfloat yi = y - float(j);in the _fnlSingleSimplex2D function... Is this just me? Any help would be appreciated.Note that changing those lines to
xi = float(x) - float(i);andfloat yi = float(y) - float(j);fixes the error, but another one appears later down.