Lines Matching refs:rect
329 // 2) Clamp the coordinates to a 0.5 inset of the subset rect [Clamp, Repeat, and
331 // output of 1). The clamp rect collapses to a line or point it if the subset
332 // rect is less than one pixel wide/tall.
337 // filtering do a hard less than/greater than test with the subset rect.
431 // These modes either don't use the subset rect or don't need to map the
532 // Apply subset rect and clamp rect to coords.
652 // epsilon) before comparing to the subset rect to avoid GPU interpolation errors
691 auto pushRect = [&](float rect[4], UniformHandle uni) {
693 rect[1] = h - rect[1];
694 rect[3] = h - rect[3];
695 std::swap(rect[1], rect[3]);
698 rect[0] *= idims[0];
699 rect[2] *= idims[0];
700 rect[1] *= idims[1];
701 rect[3] *= idims[1];
703 pdm.set4fv(uni, 1, rect);