I am porting a few shaders that contain for loops to GenExpr . Integers are no problem because 1 is the natural increment.
for(int i = 0.; i < 100.; i++)
easily translates to
How are float increments handled when porting code that doesn't specify an increment? The compiler doesn't like ++
for(float j = -1.; j < 1.01; j++)
There are no references to float precision anywhere else in the code. Is there a default value?