Lines Matching refs:int2
33 line[0].lo = read_imagef(input, sampler, (int2)(2 * x, 2 * y));
34 line[0].hi = read_imagef(input, sampler, (int2)(2 * x + 1, 2 * y));
35 line[1].lo = read_imagef(input, sampler, (int2)(2 * x, 2 * y + 1));
36 line[1].hi = read_imagef(input, sampler, (int2)(2 * x + 1, 2 * y + 1));
71 write_imagef(ll, (int2)(x, y), line_ll);
72 write_imagef(hl, (int2)(x, y), line_hl + 0.5f);
73 write_imagef(lh, (int2)(x, y), line_lh + 0.5f);
74 write_imagef(hh, (int2)(x, y), line_hh + 0.5f);
108 line_ll = read_imagef(ll, sampler, (int2)(x, y));
109 line_hl = read_imagef(hl, sampler, (int2)(x, y)) - 0.5f;
110 line_lh = read_imagef(lh, sampler, (int2)(x, y)) - 0.5f;
111 line_hh = read_imagef(hh, sampler, (int2)(x, y)) - 0.5f;
150 write_imagef(output, (int2)(2 * x, 2 * y), line[0].lo);
151 write_imagef(output, (int2)(2 * x + 1, 2 * y), line[0].hi);
152 write_imagef(output, (int2)(2 * x, 2 * y + 1), line[1].lo);
153 write_imagef(output, (int2)(2 * x + 1, 2 * y + 1), line[1].hi);
177 write_imagef(output, (int2)(2 * x, 2 * y), line[0].lo);
178 write_imagef(output, (int2)(2 * x + 1, 2 * y), line[0].hi);
179 write_imagef(output, (int2)(2 * x, 2 * y + 1), line[1].lo);
180 write_imagef(output, (int2)(2 * x + 1, 2 * y + 1), line[1].hi);