Lines Matching defs:wrap

1883 static inline int wrap (Sampler::WrapMode mode, int c, int size)
1915 // Special unnormalization for REPEAT_CL and MIRRORED_REPEAT_CL wrap modes; otherwise ordinary unnormalization.
2035 int i = wrap(sampler.wrapS, x, width);
2053 int i = wrap(sampler.wrapS, x, width);
2054 int j = wrap(sampler.wrapT, y, height);
2075 int i = wrap(sampler.wrapS, x, width);
2076 int j = wrap(sampler.wrapT, y, height);
2077 int k = wrap(sampler.wrapR, z, depth);
2089 int i0 = wrap(sampler.wrapS, x0, w);
2090 int i1 = wrap(sampler.wrapS, x1, w);
2117 i[m] = wrap(sampler.wrapS, x[m], width);
2153 int i0 = wrap(sampler.wrapS, x0, w);
2154 int i1 = wrap(sampler.wrapS, x1, w);
2155 int j0 = wrap(sampler.wrapT, y0, h);
2156 int j1 = wrap(sampler.wrapT, y1, h);
2196 i[m] = wrap(sampler.wrapS, x[m], width);
2198 j[n] = wrap(sampler.wrapT, y[n], height);
2237 int i0 = wrap(sampler.wrapS, x0, w);
2238 int i1 = wrap(sampler.wrapS, x1, w);
2267 int i0 = wrap(sampler.wrapS, x0, w);
2268 int i1 = wrap(sampler.wrapS, x1, w);
2269 int j0 = wrap(sampler.wrapT, y0, h);
2270 int j1 = wrap(sampler.wrapT, y1, h);
2312 int i0 = wrap(sampler.wrapS, x0, width);
2313 int i1 = wrap(sampler.wrapS, x1, width);
2314 int j0 = wrap(sampler.wrapT, y0, height);
2315 int j1 = wrap(sampler.wrapT, y1, height);
2316 int k0 = wrap(sampler.wrapR, z0, depth);
2317 int k1 = wrap(sampler.wrapR, z1, depth);
2373 i[m] = wrap(sampler.wrapS, x[m], width);
2375 j[n] = wrap(sampler.wrapT, y[n], height);
2377 k[o] = wrap(sampler.wrapR, k[o], depth);
2926 const int sampleX = wrap(sampler.wrapS, x0 + offsets[i].x(), w);
2927 const int sampleY = wrap(sampler.wrapT, y0 + offsets[i].y(), h);
3071 IVec2 coords(wrap(Sampler::CLAMP_TO_BORDER, origCoords.s, size),
3072 wrap(Sampler::CLAMP_TO_BORDER, origCoords.t, size));