- samples[i * 4 + 0] = x / float(width);
- samples[i * 4 + 1] = y / float(height);
- samples[i * 4 + 2] = g(y, x);
- samples[i * 4 + 3] = 0.0f;
+ uniform_samples[i * 4 + 0] = x / float(width);
+ uniform_samples[i * 4 + 1] = y / float(height);
+ uniform_samples[i * 4 + 2] = g(y, x);
+ uniform_samples[i * 4 + 3] = 0.0f;