-#else
- // Boring, at-whole-pixels sampling.
- float samples[4 * NUM_TAPS];
-
- // All other samples.
- for (unsigned i = 0; i < NUM_TAPS + 1; ++i) {
- float x = 0.0f, y = 0.0f;
-
- if (direction == HORIZONTAL) {
- x = i / (float)texture_size;
- } else if (direction == VERTICAL) {
- y = i / (float)texture_size;
- } else {
- assert(false);
- }
-
- samples[4 * i + 0] = x;
- samples[4 * i + 1] = y;
- samples[4 * i + 2] = weight[i];
- samples[4 * i + 3] = 0.0f;
- }