• Home
  • Raw
  • Download

Lines Matching refs:samples

159         Vec4<int> samples[4] = {0};  in tex2d()  local
160 PointSample<format>((unsigned *)(samples + 0), data, y0 * width + x0); in tex2d()
161 ToIntVec(samples + 0); in tex2d()
162 PointSample<format>((unsigned *)(samples + 1), data, y0 * width + x1); in tex2d()
163 ToIntVec(samples + 1); in tex2d()
164 PointSample<format>((unsigned *)(samples + 2), data, y1 * width + x1); in tex2d()
165 ToIntVec(samples + 2); in tex2d()
166 PointSample<format>((unsigned *)(samples + 3), data, y1 * width + x0); in tex2d()
167 ToIntVec(samples + 3); in tex2d()
169 Lerp(samples + 0, samples + 1, xLerp, samples + 0); in tex2d()
170 Lerp(samples + 3, samples + 2, xLerp, samples + 3); in tex2d()
171 Lerp(samples + 0, samples + 3, yLerp, (Vec4<int> *)sample); in tex2d()
268 Vec4<int> samples[4] = {0}; in texcube() local
269 … PointSample<format>((unsigned *)(samples + 0), data, face * width * height + y0 * width + x0); in texcube()
270 ToIntVec(samples + 0); in texcube()
271 … PointSample<format>((unsigned *)(samples + 1), data, face * width * height + y0 * width + x1); in texcube()
272 ToIntVec(samples + 1); in texcube()
273 … PointSample<format>((unsigned *)(samples + 2), data, face * width * height + y1 * width + x1); in texcube()
274 ToIntVec(samples + 2); in texcube()
275 … PointSample<format>((unsigned *)(samples + 3), data, face * width * height + y1 * width + x0); in texcube()
276 ToIntVec(samples + 3); in texcube()
278 Lerp(samples + 0, samples + 1, xLerp, samples + 0); in texcube()
279 Lerp(samples + 3, samples + 2, xLerp, samples + 3); in texcube()
280 Lerp(samples + 0, samples + 3, yLerp, (Vec4<int> *)sample); in texcube()