+ uniform_samples[2 * 0 + 0] = 0.0f;
+ uniform_samples[2 * 0 + 1] = weight[0];
+
+ int size;
+ if (direction == HORIZONTAL) {
+ size = width;
+ } else if (direction == VERTICAL) {
+ size = height;
+ } else {
+ assert(false);
+ }
+ float num_subtexels = size / movit_texel_subpixel_precision;
+ float inv_num_subtexels = movit_texel_subpixel_precision / size;